]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/loop-detect-status.expect
submodule-config.c: strengthen URL fsck check
[thirdparty/git.git] / t / chainlint / loop-detect-status.expect
1 ( while test $i -le $blobcount
2 do
3 printf "Generating blob $i/$blobcount\r" >& 2 &&
4 printf "blob\nmark :$i\ndata $blobsize\n" &&
5 #test-tool genrandom $i $blobsize &&
6 printf "%-${blobsize}s" $i &&
7 echo "M 100644 :$i $i" >> commit &&
8 i=$(($i+1)) ||
9 echo $? > exit-status
10 done &&
11 echo "commit refs/heads/main" &&
12 echo "author A U Thor <author@email.com> 123456789 +0000" &&
13 echo "committer C O Mitter <committer@email.com> 123456789 +0000" &&
14 echo "data 5" &&
15 echo ">2gb" &&
16 cat commit ) |
17 git fast-import --big-file-threshold=2 &&
18 test ! -f exit-status