Replace 'dd' in tests with use of guestfish 'sparse' command.
[libguestfs.git] / regressions / rhbz503169c10.sh
index 0a32749..a975f69 100755 (executable)
@@ -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