tests: Found three more references to the squashfs, replaced with ISO.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 19 Aug 2009 20:37:56 +0000 (21:37 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 19 Aug 2009 20:37:56 +0000 (21:37 +0100)
perl/t/510-lib-file-arch.t
regressions/test-cancellation-download-librarycancels.sh
regressions/test-read_file.sh

index c4b9d31..5c70449 100644 (file)
@@ -35,7 +35,7 @@ use Sys::Guestfs::Lib;
 my $h = Sys::Guestfs->new ();
 ok ($h);
 
 my $h = Sys::Guestfs->new ();
 ok ($h);
 
-$h->add_drive_ro ("../images/test.sqsh");
+$h->add_drive_ro ("../images/test.iso");
 ok (1);
 
 $h->launch ();
 ok (1);
 
 $h->launch ();
@@ -43,7 +43,7 @@ ok (1);
 $h->wait_ready ();
 ok (1);
 
 $h->wait_ready ();
 ok (1);
 
-$h->mount_vfs ("ro", "squashfs", "/dev/sda", "/");
+$h->mount_ro ("/dev/sda", "/");
 ok (1);
 
 is (Sys::Guestfs::Lib::file_architecture ($h, "/bin-i586-dynamic"),
 ok (1);
 
 is (Sys::Guestfs::Lib::file_architecture ($h, "/bin-i586-dynamic"),
index b0d78c9..73c5469 100755 (executable)
@@ -25,10 +25,10 @@ set -e
 rm -f test.img
 
 ../fish/guestfish <<'EOF'
 rm -f test.img
 
 ../fish/guestfish <<'EOF'
-add ../images/test.sqsh
+add ../images/test.iso
 run
 
 run
 
-mount-vfs ro squashfs /dev/sda /
+mount-ro /dev/sda /
 
 # Download a file to /dev/full.
 echo "Expect: write: /dev/full: No space left on device"
 
 # Download a file to /dev/full.
 echo "Expect: write: /dev/full: No space left on device"
index 5840da3..3b9c6ef 100755 (executable)
@@ -23,9 +23,9 @@ set -e
 rm -f test.out
 
 ../fish/guestfish <<'EOF' > test.out
 rm -f test.out
 
 ../fish/guestfish <<'EOF' > test.out
-add-ro ../images/test.sqsh
+add-ro ../images/test.iso
 run
 run
-mount-vfs ro squashfs /dev/sda /
+mount-ro /dev/sda /
 read-file /helloworld.tar
 EOF
 
 read-file /helloworld.tar
 EOF