aboutsummaryrefslogtreecommitdiff
path: root/src/test/fs_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-02-18 12:58:31 +0100
committerMarcoFalke <falke.marco@gmail.com>2022-02-18 15:27:08 +0100
commitfad7ddf9e3710405d727f61d8200d5efed1e705b (patch)
tree2e11da2888fd89ebfd1490337b9ac017fe6c0bb5 /src/test/fs_tests.cpp
parent66636ca438cb65fb18bcaa4540856cef0cee2029 (diff)
downloadbitcoin-fad7ddf9e3710405d727f61d8200d5efed1e705b.tar.xz
test: Run symlink regression tests on Windows
Diffstat (limited to 'src/test/fs_tests.cpp')
-rw-r--r--src/test/fs_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fs_tests.cpp b/src/test/fs_tests.cpp
index 313064b294..5875f0218f 100644
--- a/src/test/fs_tests.cpp
+++ b/src/test/fs_tests.cpp
@@ -152,7 +152,7 @@ BOOST_AUTO_TEST_CASE(rename)
fs::remove(path2);
}
-#ifndef WIN32
+#ifndef __MINGW64__ // no symlinks on mingw
BOOST_AUTO_TEST_CASE(create_directories)
{
// Test fs::create_directories workaround.
@@ -174,6 +174,6 @@ BOOST_AUTO_TEST_CASE(create_directories)
fs::remove(symlink);
fs::remove(dir);
}
-#endif // WIN32
+#endif // __MINGW64__
BOOST_AUTO_TEST_SUITE_END()