Skip to content

Commit 4762c7b

Browse files
committed
Merge branch 'js/t5000-dont-copy-bin-sh'
* js/t5000-dont-copy-bin-sh: t5000 on Windows: do not mistake "sh.exe" as "sh"
2 parents 63296d5 + bba5fcc commit 4762c7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t/t5000-tar-tree.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ test_expect_success \
101101
ten=0123456789 && hundred=$ten$ten$ten$ten$ten$ten$ten$ten$ten$ten &&
102102
echo long filename >a/four$hundred &&
103103
mkdir a/bin &&
104-
cp /bin/sh a/bin &&
104+
test-genrandom "frotz" 500000 >a/bin/sh &&
105105
printf "A\$Format:%s\$O" "$SUBSTFORMAT" >a/substfile1 &&
106106
printf "A not substituted O" >a/substfile2 &&
107107
if test_have_prereq SYMLINKS; then

0 commit comments

Comments
 (0)