diff options
Diffstat (limited to 'tests.c')
-rw-r--r-- | tests.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -124,6 +124,7 @@ static void no_test_warnings (void) fprintf (stderr, "warning: \"guestfs_vg_activate_all\" has no tests\n"); 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"); } static int test_find_0 (void) @@ -614,6 +615,14 @@ static int test_lvresize_0 (void) char device[] = "/dev/VG/LV"; int r; suppress_error = 0; + r = guestfs_e2fsck_f (g, device); + if (r == -1) + return -1; + } + { + char device[] = "/dev/VG/LV"; + int r; + suppress_error = 0; r = guestfs_resize2fs (g, device); if (r == -1) return -1; |