summaryrefslogtreecommitdiffstats
path: root/fish/test-add-domain.sh
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-23 18:56:20 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-23 20:17:24 +0100
commit3614d76b37ee8ef90f5a280e1bb51bccd87eaadb (patch)
treefcf80c1d1cee66100a7bb15c2dba319042bb0923 /fish/test-add-domain.sh
parenta6366f5dae0e8332cfdad0894aa6e5c7fc3faa2c (diff)
downloadlibguestfs-3614d76b37ee8ef90f5a280e1bb51bccd87eaadb.tar.gz
libguestfs-3614d76b37ee8ef90f5a280e1bb51bccd87eaadb.tar.xz
libguestfs-3614d76b37ee8ef90f5a280e1bb51bccd87eaadb.zip
tests: Move debug-drives testing API to launch.c and change the output.
It should work with any attach-method.
Diffstat (limited to 'fish/test-add-domain.sh')
-rwxr-xr-xfish/test-add-domain.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/fish/test-add-domain.sh b/fish/test-add-domain.sh
index 749f3bcd..9548fa1e 100755
--- a/fish/test-add-domain.sh
+++ b/fish/test-add-domain.sh
@@ -69,10 +69,10 @@ EOF
domain guest libvirturi:test://$cwd/test.xml readonly:true
debug-drives
EOF
-grep -sq "test1.img.*snapshot=on" test.out
+grep -sq "test1.img readonly" test.out
! grep -sq "test1.img.*format" test.out
-grep -sq "test2.img.*snapshot=on.*format=raw" test.out
-grep -sq "test3.img.*snapshot=on.*format=qcow2" test.out
+grep -sq "test2.img readonly format=raw" test.out
+grep -sq "test3.img readonly format=qcow2" test.out
# Test readonlydisk = "ignore".
./guestfish >test.out <<EOF