diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-23 18:56:20 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-23 20:17:24 +0100 |
commit | 3614d76b37ee8ef90f5a280e1bb51bccd87eaadb (patch) | |
tree | fcf80c1d1cee66100a7bb15c2dba319042bb0923 /fish/test-add-domain.sh | |
parent | a6366f5dae0e8332cfdad0894aa6e5c7fc3faa2c (diff) | |
download | libguestfs-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-x | fish/test-add-domain.sh | 6 |
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 |