t/helper: merge test-genrandom into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
dbceb3ecc5
commit
c680668d1a
@ -16,8 +16,8 @@ test_expect_success \
|
||||
perl -e "print \"a\" x 4096;" > a &&
|
||||
perl -e "print \"b\" x 4096;" > b &&
|
||||
perl -e "print \"c\" x 4096;" > c &&
|
||||
test-genrandom "seed a" 2097152 > a_big &&
|
||||
test-genrandom "seed b" 2097152 > b_big &&
|
||||
test-tool genrandom "seed a" 2097152 > a_big &&
|
||||
test-tool genrandom "seed b" 2097152 > b_big &&
|
||||
git update-index --add a a_big b b_big c &&
|
||||
cat c >d && echo foo >>d && git update-index --add d &&
|
||||
tree=$(git write-tree) &&
|
||||
|
Reference in New Issue
Block a user