From: Joel Rosdahl Date: Wed, 17 Nov 2010 20:12:22 +0000 (+0100) Subject: portability: Support systems without /dev/zero X-Git-Tag: v3.1.2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=28ec77dfaaa7d044aab26ec909a4f285879236fb;p=thirdparty%2Fccache.git portability: Support systems without /dev/zero --- 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