From 5b17af107f75a0d6f3a39b88b9c18714014eb7af Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 13 May 2009 15:55:26 +0100 Subject: [PATCH] Allow number of loops to be set on command line. --- test-bootbootboot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-bootbootboot.sh b/test-bootbootboot.sh index 8ee7493..616781a 100755 --- a/test-bootbootboot.sh +++ b/test-bootbootboot.sh @@ -24,9 +24,10 @@ 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 -- 1.8.3.1