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-d.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-d.sh')
-rwxr-xr-x | fish/test-d.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fish/test-d.sh b/fish/test-d.sh index 104b8f3b..eb19b518 100755 --- a/fish/test-d.sh +++ b/fish/test-d.sh @@ -67,10 +67,10 @@ EOF ./guestfish -c "test://$cwd/test.xml" --ro -d guest \ debug-drives </dev/null >test.out -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 "test4.img.*snapshot=on.*format=raw" test.out +grep -sq "test2.img readonly format=raw" test.out +grep -sq "test3.img readonly format=qcow2" test.out +grep -sq "test4.img readonly format=raw" test.out rm -f test1.img test2.img test3.img test4.img test.xml test.out |