added winfsp test executable
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
SOFTWARE.
|
||||
*/
|
||||
#if defined(_WIN32)
|
||||
#if 0
|
||||
// #if 0
|
||||
|
||||
#include "fixtures/winfsp_fixture.hpp"
|
||||
|
||||
@@ -219,7 +219,17 @@ TYPED_TEST(winfsp_test, can_get_and_set_basic_info_test) {
|
||||
|
||||
this->delete_file_and_test(file_path);
|
||||
}
|
||||
|
||||
TYPED_TEST(winfsp_test, run_winfsp_tests) {
|
||||
auto cur = std::filesystem::current_path();
|
||||
std::filesystem::current_path(this->mount_location);
|
||||
|
||||
auto res = system("winfsp-tests-x64.exe --external --resilient");
|
||||
EXPECT_EQ(0, res);
|
||||
|
||||
std::filesystem::current_path(cur);
|
||||
}
|
||||
} // namespace repertory
|
||||
|
||||
#endif // 0
|
||||
// #endif // 0
|
||||
#endif // defined(_WIN32)
|
||||
|
Reference in New Issue
Block a user