git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix regressions/rhbz557655.sh when debugging is enabled (v2).
[libguestfs.git]
/
perl
/
t
/
510-lib-file-arch.t
diff --git
a/perl/t/510-lib-file-arch.t
b/perl/t/510-lib-file-arch.t
index
c4b9d31
..
dfe32bc
100644
(file)
--- a/
perl/t/510-lib-file-arch.t
+++ b/
perl/t/510-lib-file-arch.t
@@
-22,7
+22,7
@@
BEGIN {
use Test::More;
eval "use Locale::TextDomain";;
if (exists $INC{"Locale/TextDomain.pm"}) {
use Test::More;
eval "use Locale::TextDomain";;
if (exists $INC{"Locale/TextDomain.pm"}) {
- plan tests => 1
7
;
+ plan tests => 1
6
;
} else {
plan skip_all => "no perl-libintl module";
exit 0;
} else {
plan skip_all => "no perl-libintl module";
exit 0;
@@
-35,15
+35,13
@@
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);
ok (1);
$h->launch ();
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"),