Allow number of loops to be set on command line.
authorRichard Jones <rjones@redhat.com>
Wed, 13 May 2009 14:55:26 +0000 (15:55 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 13 May 2009 14:55:26 +0000 (15:55 +0100)
test-bootbootboot.sh

index 8ee7493..616781a 100755 (executable)
 set -e
 
 rm -f test1.img
-dd if=/dev/zero of=test1.img bs=1024k count=1024
+dd if=/dev/zero of=test1.img bs=1024k count=500
 
 n=20
+if [ -n "$1" ]; then n=$1; fi
 
 export LIBGUESTFS_DEBUG=1