[PATCH] t5000 on Windows: do not mistake sh.exe as sh

2014-11-24 Thread Johannes Sixt
In their effort to emulate POSIX as close as possible, the MSYS tools and Cygwin treat the file name foo.exe as foo when the latter is asked for, but not present, but the former is present. Following this rule, 'cp /bin/sh a/bin' actually copies the file /bin/sh.exe, so that we now have

Re: [PATCH] t5000 on Windows: do not mistake sh.exe as sh

2014-11-24 Thread Torsten Bögershausen
diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh index d01bbdc..4b68bba 100755 --- a/t/t5000-tar-tree.sh +++ b/t/t5000-tar-tree.sh @@ -101,7 +101,7 @@ test_expect_success \ ten=0123456789 hundred=$ten$ten$ten$ten$ten$ten$ten$ten$ten$ten echo long filename