X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft5000-tar-tree.sh;h=278eb6670116d0036413a81fc129615974458e5d;hb=1010437d515a2740b7c0f3eeecf6af804062a9ff;hp=4db1bb11425797b5b105fcb7b92f443616d58355;hpb=f865a2ad981f72423aa1c19412ce57c543801957;p=git.git diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh index 4db1bb11..278eb667 100755 --- a/t/t5000-tar-tree.sh +++ b/t/t5000-tar-tree.sh @@ -25,6 +25,7 @@ commit id embedding: ' . ./test-lib.sh +TAR=${TAR:-tar} test_expect_success \ 'populate workdir' \ @@ -33,6 +34,9 @@ test_expect_success \ mkdir a/bin && cp /bin/sh a/bin && ln -s a a/l1 && + (p=long_path_to_a_file && cd a && + for depth in 1 2 3 4 5; do mkdir $p && cd $p; done && + echo text >file_with_long_path) && (cd a && find .) | sort >a.lst' test_expect_success \