Add support for zerofree command.
[libguestfs.git] / test-bootbootboot.sh
index a0afa83..616781a 100755 (executable)
 
 set -e
 
+rm -f test1.img
 dd if=/dev/zero of=test1.img bs=1024k count=500
 
 n=20
+if [ -n "$1" ]; then n=$1; fi
 
 export LIBGUESTFS_DEBUG=1
 
@@ -35,3 +37,5 @@ for i in $(seq 1 $n); do
 done
 
 rm test1.img
+
+echo Test boot completed after $n iterations.