diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index b985bc5db5..48c38cfb4d 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -26,6 +26,12 @@ corrupt() ) < $1 > $2 } +test "$no_symlinks" && { + stat() { + ls -l "$3" | tr -s ' ' ' ' | cut -d' ' -f5 + } +} + test_expect_success \ 'setup' \ 'rm -f .git/index*