launch: Store drive information in guestfs_h
[libguestfs.git] / regressions / test-add-domain.sh
index d124b62..ea6d388 100755 (executable)
@@ -58,7 +58,7 @@ EOF
 
 ../fish/guestfish >test.out <<EOF
   domain guest libvirturi:test://$cwd/test.xml readonly:true
 
 ../fish/guestfish >test.out <<EOF
   domain guest libvirturi:test://$cwd/test.xml readonly:true
-  debug-cmdline
+  debug-drives
 EOF
 grep -sq "test1.img.*snapshot=on" test.out
 ! grep -sq "test1.img.*format" test.out
 EOF
 grep -sq "test1.img.*snapshot=on" test.out
 ! grep -sq "test1.img.*format" test.out
@@ -70,7 +70,7 @@ rm test3.img
 
 ../fish/guestfish >test.out <<EOF
   -domain guest libvirturi:test://$cwd/test.xml readonly:true
 
 ../fish/guestfish >test.out <<EOF
   -domain guest libvirturi:test://$cwd/test.xml readonly:true
-  debug-cmdline
+  debug-drives
 EOF
 ! grep -sq "test1.img" test.out
 ! grep -sq "test2.img" test.out
 EOF
 ! grep -sq "test1.img" test.out
 ! grep -sq "test2.img" test.out