]>
git.ipfire.org Git - thirdparty/git.git/blob - t/t3008-ls-files-lazy-init-name-hash.sh
3 test_description
='Test the lazy init name hash with various folder structures'
7 test_expect_success
'no buffer overflow in lazy_init_name_hash' '
9 test_seq 2000 | sed "s/^/a_/"
11 test_seq 2000 | sed "s/^/c_/"
12 test_seq 50 | sed "s/^/d_/" | tr "\n" "/"; echo d
14 sed -e "s/^/100644 $EMPTY_BLOB /" |
15 git update-index --index-info &&
16 test-lazy-init-name-hash -m