aboutsummaryrefslogtreecommitdiff
path: root/tests/remote-git.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-09-20 18:06:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-09-20 19:48:35 +0300
commit89c3a2dfdf75fb536870e17531e6f8161fa05686 (patch)
tree8c9bb0a722c51b627e717361c2ce3f4dca556cbe /tests/remote-git.testscript
parente3154f3b02a61eb51f84c0911396687cb62b333e (diff)
Use bsdtar instead of tar in tests on Windows to sidestep msys-related issues
Diffstat (limited to 'tests/remote-git.testscript')
-rw-r--r--tests/remote-git.testscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/remote-git.testscript b/tests/remote-git.testscript
index b4ed398..377277d 100644
--- a/tests/remote-git.testscript
+++ b/tests/remote-git.testscript
@@ -72,6 +72,10 @@ end
# will use the same options as we do for unpacking of package archives (see
# pkg-unpack.cxx).
#
+# Note that on Windows we still use tar rather than bsdtar here, since the
+# later fails for dangling symlinks and we have such symlinks in the
+# repository archives which are used for testing.
+#
git_extract = [cmdline] \
($cxx.target.class != 'windows' \
? tar -C $out_git -xf \