From 28ec77dfaaa7d044aab26ec909a4f285879236fb Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Wed, 17 Nov 2010 21:12:22 +0100 Subject: [PATCH] portability: Support systems without /dev/zero --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 290830ba0..d4c6911f2 100755 --- a/test.sh +++ b/test.sh @@ -1430,7 +1430,7 @@ prepare_cleanup_test() { mkdir -p $dir i=0 while [ $i -lt 10 ]; do - dd if=/dev/zero of=$dir/result$i-4017.o count=1 bs=4017 2>/dev/null + perl -e 'print "A" x 4017' >$dir/result$i-4017.o touch $dir/result$i-4017.stderr touch $dir/result$i-4017.d if [ $i -gt 5 ]; then -- 2.47.2