]> git.ipfire.org Git - thirdparty/git.git/commit
t1401: make invocation of tar(1) work with Win32-provided one
authorPatrick Steinhardt <ps@pks.im>
Wed, 16 Oct 2024 08:13:04 +0000 (10:13 +0200)
committerTaylor Blau <me@ttaylorr.com>
Wed, 16 Oct 2024 21:00:49 +0000 (17:00 -0400)
commit3acb1f71999ff7f156968014bd714f628904974e
treee6282efea56706e00059668643285d913c18d0d5
parentb4b77ea280ab938200c826bf28f55657da6bf589
t1401: make invocation of tar(1) work with Win32-provided one

Windows nowadays provides a tar(1) binary in "C:\Windows\system32". This
version of tar(1) doesn't seem to handle the case where directory paths
end with a trailing forward slash. And as we do that in t1401 the result
is that the test fails.

Drop the trailing slash. Other tests that use tar(1) work alright, this
is the only instance where it has been failing.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/t1401-symbolic-ref.sh