summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xregressions/rhbz503169c10.sh4
-rwxr-xr-xregressions/rhbz503169c13.sh4
-rwxr-xr-xregressions/test-bootbootboot.sh3
3 files changed, 5 insertions, 6 deletions
diff --git a/regressions/rhbz503169c10.sh b/regressions/rhbz503169c10.sh
index 0a327495..a975f692 100755
--- a/regressions/rhbz503169c10.sh
+++ b/regressions/rhbz503169c10.sh
@@ -22,9 +22,9 @@
set -e
rm -f test1.img
-dd if=/dev/zero of=test1.img bs=1024k count=10
-../fish/guestfish -a test1.img <<EOF
+../fish/guestfish <<EOF
+sparse test1.img 10M
launch
part-disk /dev/sda mbr
mkfs ext2 /dev/sda1
diff --git a/regressions/rhbz503169c13.sh b/regressions/rhbz503169c13.sh
index f7ad9e43..1b19cdf3 100755
--- a/regressions/rhbz503169c13.sh
+++ b/regressions/rhbz503169c13.sh
@@ -27,9 +27,9 @@
set -e
rm -f test1.img
-dd if=/dev/zero of=test1.img bs=1024k count=10
-../fish/guestfish -a test1.img <<EOF
+../fish/guestfish <<EOF
+sparse test1.img 10M
run
part-disk /dev/sda mbr
mkfs ext2 /dev/sda1
diff --git a/regressions/test-bootbootboot.sh b/regressions/test-bootbootboot.sh
index 5be15d20..842e41fe 100755
--- a/regressions/test-bootbootboot.sh
+++ b/regressions/test-bootbootboot.sh
@@ -24,7 +24,6 @@
set -e
rm -f test1.img
-dd if=/dev/zero of=test1.img bs=1024k count=500
n=10
if [ -n "$1" ]; then n=$1; fi
@@ -33,7 +32,7 @@ export LIBGUESTFS_DEBUG=1
for i in $(seq 1 $n); do
echo Test boot $i of $n ...
- ../fish/guestfish -a test1.img run
+ ../fish/guestfish sparse test1.img 500M : run
done
rm test1.img