aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-info.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/rep-info.testscript
parente3154f3b02a61eb51f84c0911396687cb62b333e (diff)
Use bsdtar instead of tar in tests on Windows to sidestep msys-related issues
Diffstat (limited to 'tests/rep-info.testscript')
-rw-r--r--tests/rep-info.testscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rep-info.testscript b/tests/rep-info.testscript
index c5f2d3a..2c02c8f 100644
--- a/tests/rep-info.testscript
+++ b/tests/rep-info.testscript
@@ -132,6 +132,10 @@ $* --name $rep/testing >"pkg:build2.org/rep-info/testing ($rep/testing)"
: dir
:
{
+ # 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
+ # this repository archive.
+ #
tar ($posix ? : --force-local) -xf $src/git/libbar.tar &state0/***;
$* --type dir "state0/libbar.git" >>~%EOO%d;