diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-06-02 14:25:25 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-06-02 14:25:25 +0100 |
commit | d1a1ab972bb22f4c38a21fcc73f81650aaa03b4e (patch) | |
tree | 48c33472221810fbe42a515b217f82d3da3bd04f /capitests | |
parent | bfdc03be234d6d95f18450846433bce4f97e184c (diff) | |
download | libguestfs-d1a1ab972bb22f4c38a21fcc73f81650aaa03b4e.tar.gz libguestfs-d1a1ab972bb22f4c38a21fcc73f81650aaa03b4e.tar.xz libguestfs-d1a1ab972bb22f4c38a21fcc73f81650aaa03b4e.zip |
Generated code for 'add_drive_ro' call.
Diffstat (limited to 'capitests')
-rw-r--r-- | capitests/tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capitests/tests.c b/capitests/tests.c index 5b6356f4..1b751e83 100644 --- a/capitests/tests.c +++ b/capitests/tests.c @@ -94,6 +94,7 @@ static void no_test_warnings (void) fprintf (stderr, "warning: \"guestfs_kill_subprocess\" has no tests\n"); fprintf (stderr, "warning: \"guestfs_add_drive\" has no tests\n"); fprintf (stderr, "warning: \"guestfs_add_cdrom\" has no tests\n"); + fprintf (stderr, "warning: \"guestfs_add_drive_ro\" has no tests\n"); fprintf (stderr, "warning: \"guestfs_config\" has no tests\n"); fprintf (stderr, "warning: \"guestfs_set_qemu\" has no tests\n"); fprintf (stderr, "warning: \"guestfs_get_qemu\" has no tests\n"); @@ -16020,7 +16021,6 @@ int main (int argc, char *argv[]) { char c = 0; int failed = 0; - const char *srcdir; const char *filename; int fd, i; int nr_tests, test_num = 0; @@ -16122,8 +16122,8 @@ int main (int argc, char *argv[]) exit (1); } - if (guestfs_add_drive (g, "../images/test.sqsh") == -1) { - printf ("guestfs_add_drive %s FAILED\n", filename); + if (guestfs_add_drive_ro (g, "../images/test.sqsh") == -1) { + printf ("guestfs_add_drive_ro ../images/test.sqsh FAILED\n"); exit (1); } |