summaryrefslogtreecommitdiffstats
path: root/tests.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-05-21 16:18:16 +0100
committerRichard Jones <rjones@redhat.com>2009-05-21 16:18:16 +0100
commit3e408f493496597dc026d20778837f421f05a9dd (patch)
tree5aee1850ae052c36ab56de764d4130789280c7a8 /tests.c
parent0f81d0941a2705d49bc129f69924265fa60d9677 (diff)
downloadlibguestfs-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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests.c b/tests.c
index 547575cd..59979526 100644
--- a/tests.c
+++ b/tests.c
@@ -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;