diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh
index adc5e937de1a4b28b9556ca00fdfbc95dead70d7..278eb6670116d0036413a81fc129615974458e5d 100755 (executable)
--- a/t/t5000-tar-tree.sh
+++ b/t/t5000-tar-tree.sh
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 \