fprintf (stderr, "warning: \"guestfs_vg_activate\" has no tests\n");
fprintf (stderr, "warning: \"guestfs_resize2fs\" has no tests\n");
fprintf (stderr, "warning: \"guestfs_e2fsck_f\" has no tests\n");
+ fprintf (stderr, "warning: \"guestfs_sh\" has no tests\n");
+ fprintf (stderr, "warning: \"guestfs_sh_lines\" has no tests\n");
}
static int test_ntfs_3g_probe_0_skip (void)
/* TestOutput for checksum (8) */
char expected[] = "46d6ca27ee07cdc6fa99c2e138cc522c";
{
+ char options[] = "ro";
+ char vfstype[] = "squashfs";
char device[] = "/dev/sdd";
char mountpoint[] = "/";
int r;
suppress_error = 0;
- r = guestfs_mount (g, device, mountpoint);
+ r = guestfs_mount_vfs (g, options, vfstype, device, mountpoint);
if (r == -1)
return -1;
}
printf ("guestfs_launch FAILED\n");
exit (1);
}
+
+ /* Set a timeout in case qemu hangs during launch (RHBZ#505329). */
+ alarm (600);
+
if (guestfs_wait_ready (g) == -1) {
printf ("guestfs_wait_ready FAILED\n");
exit (1);
}
+ /* Cancel previous alarm. */
+ alarm (0);
+
nr_tests = 146;
test_num++;