summaryrefslogtreecommitdiffstats
path: root/regressions/test-qemudie-synch.sh
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-22 10:42:58 +0100
committerRichard Jones <rjones@redhat.com>2010-04-22 18:07:11 +0100
commit4a9b979a3199dfef64a342f05d666da540203a7c (patch)
tree1320fe9abd9f4dd09816ac337b40285e05876d54 /regressions/test-qemudie-synch.sh
parent89486c50eaeb8b1cc5a6ff388cb47e859f8565d1 (diff)
downloadlibguestfs-4a9b979a3199dfef64a342f05d666da540203a7c.tar.gz
libguestfs-4a9b979a3199dfef64a342f05d666da540203a7c.tar.xz
libguestfs-4a9b979a3199dfef64a342f05d666da540203a7c.zip
fish: Add -N option for making prepared disk images.
Previously you might have typed: $ guestfish ><fs> alloc test1.img 100M ><fs> run ><fs> part-disk /dev/sda mbr ><fs> mkfs ext4 /dev/sda1 now you can do the same with: $ guestfish -N fs:ext4 Some tests have also been updated to use this new functionality.
Diffstat (limited to 'regressions/test-qemudie-synch.sh')
-rwxr-xr-xregressions/test-qemudie-synch.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/regressions/test-qemudie-synch.sh b/regressions/test-qemudie-synch.sh
index 5932fef2..85aef699 100755
--- a/regressions/test-qemudie-synch.sh
+++ b/regressions/test-qemudie-synch.sh
@@ -20,12 +20,9 @@
set -e
-rm -f test.pid test.img
-
-../fish/guestfish <<'EOF'
-alloc test.img 10M
-run
+rm -f test.pid test1.img
+../fish/guestfish -N disk <<'EOF'
# Kill subprocess.
pid | cat > test.pid
! kill $(cat test.pid) ; sleep 2
@@ -39,4 +36,4 @@ run
ping-daemon
EOF
-rm -f test.pid test.img
+rm -f test.pid test1.img