Skip to content

Commit 2d38020

Browse files
committed
t1050: Fix invalid call to dd(1)
This is a companion patch to fce52b4(t4012: Fix invalid call to dd(1)). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b15879c commit 2d38020

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t1050-large.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ test_expect_success setup '
99
# clone does not allow us to pass core.bigfilethreshold to
1010
# new repos, so set core.bigfilethreshold globally
1111
git config --global core.bigfilethreshold 200k &&
12-
echo X | dd of=large1 bs=1k seek=2000 &&
13-
echo X | dd of=large2 bs=1k seek=2000 &&
14-
echo X | dd of=large3 bs=1k seek=2000 &&
15-
echo Y | dd of=huge bs=1k seek=2500 &&
12+
perl -e "print \"\\0\" x 2048000; print \"X\\n\";" > large1 &&
13+
perl -e "print \"\\0\" x 2048000; print \"X\\n\";" > large2 &&
14+
perl -e "print \"\\0\" x 2048000; print \"X\\n\";" > large3 &&
15+
perl -e "print \"\\0\" x 2560000; print \"Y\\n\";" > huge &&
1616
GIT_ALLOC_LIMIT=1500 &&
1717
export GIT_ALLOC_LIMIT
1818
'

0 commit comments

Comments
 (0)