mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests: Found three more references to the squashfs, replaced with ISO.
This commit is contained in:
@@ -35,7 +35,7 @@ use Sys::Guestfs::Lib;
|
||||
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 ();
|
||||
@@ -43,7 +43,7 @@ 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"),
|
||||
|
||||
@@ -25,10 +25,10 @@ set -e
|
||||
rm -f test.img
|
||||
|
||||
../fish/guestfish <<'EOF'
|
||||
add ../images/test.sqsh
|
||||
add ../images/test.iso
|
||||
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"
|
||||
|
||||
@@ -23,9 +23,9 @@ set -e
|
||||
rm -f test.out
|
||||
|
||||
../fish/guestfish <<'EOF' > test.out
|
||||
add-ro ../images/test.sqsh
|
||||
add-ro ../images/test.iso
|
||||
run
|
||||
mount-vfs ro squashfs /dev/sda /
|
||||
mount-ro /dev/sda /
|
||||
read-file /helloworld.tar
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user