From 89c3a2dfdf75fb536870e17531e6f8161fa05686 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 20 Sep 2023 18:06:16 +0300 Subject: Use bsdtar instead of tar in tests on Windows to sidestep msys-related issues --- tests/remote-git.testscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/remote-git.testscript') 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 \ -- cgit v1.1