winfsp unit tests and fixes

This commit is contained in:
Scott E. Graves 2024-11-08 12:37:15 -06:00
parent 72a6f5ae08
commit 2930933f19

View File

@ -75,7 +75,7 @@ protected:
static void SetUpTestCase() {
current_directory = std::filesystem::current_path();
mount_location = utils::string::to_lower("U:");
mount_location = utils::string::to_lower(std::string{"U:"});
const auto mount_s3 = [&]() {
{
@ -164,7 +164,7 @@ protected:
});
mount_location2 = mount_location;
mount_location = utils::string::to_lower("V:");
mount_location = utils::string::to_lower(std::string{"V:"});
auto cfg_directory = utils::path::combine(test_directory, {"cfg2"});
ASSERT_TRUE(utils::file::directory(cfg_directory).create_directory());