mirror of
https://github.com/git/git.git
synced 2024-11-23 09:56:28 +08:00
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>
This commit is contained in:
parent
b4b77ea280
commit
3acb1f7199
@ -16,7 +16,7 @@ reset_to_sane() {
|
||||
test_expect_success 'setup' '
|
||||
git symbolic-ref HEAD refs/heads/foo &&
|
||||
test_commit file &&
|
||||
"$TAR" cf .git.tar .git/
|
||||
"$TAR" cf .git.tar .git
|
||||
'
|
||||
|
||||
test_expect_success 'symbolic-ref read/write roundtrip' '
|
||||
|
Loading…
Reference in New Issue
Block a user