diff options
author | Richard Jones <rjones@redhat.com> | 2009-05-21 16:18:16 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-05-21 16:18:16 +0100 |
commit | 3e408f493496597dc026d20778837f421f05a9dd (patch) | |
tree | 5aee1850ae052c36ab56de764d4130789280c7a8 /tests.c | |
parent | 0f81d0941a2705d49bc129f69924265fa60d9677 (diff) | |
download | libguestfs-3e408f493496597dc026d20778837f421f05a9dd.tar.gz libguestfs-3e408f493496597dc026d20778837f421f05a9dd.tar.xz libguestfs-3e408f493496597dc026d20778837f421f05a9dd.zip |
Generated code for e2fsck-f command.
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; |