diff --git a/repertory/repertory_test/src/winfsp_drive_test.cpp b/repertory/repertory_test/src/winfsp_drive_test.cpp index 27fef111..b84abb9d 100644 --- a/repertory/repertory_test/src/winfsp_drive_test.cpp +++ b/repertory/repertory_test/src/winfsp_drive_test.cpp @@ -228,11 +228,14 @@ TYPED_TEST(winfsp_test, run_winfsp_tests) { "--resilient", }; - auto res = system((utils::path::combine(test::get_project_input_dir(), - {"bin", "winfsp-tests-x64.exe"}) + - ' ' + utils::string::join(test_options, ' ')) - .c_str()); - EXPECT_EQ(0, res); + auto test_exec = utils::path::combine(test::get_project_input_dir(), + { + "bin", + "winfsp-tests-x64.exe", + }) + + ' ' + utils::string::join(test_options, ' '); + + EXPECT_EQ(0, system(test_exec.c_str())); std::filesystem::current_path(cur); }