summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test-tool/test-tool.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c
index 67e778b3..abbb1c5b 100644
--- a/test-tool/test-tool.c
+++ b/test-tool/test-tool.c
@@ -104,17 +104,6 @@ main (int argc, char *argv[])
struct guestfs_version *vers;
char *p;
- /* Everyone ignores the documentation, so ... */
- printf (" ************************************************************\n"
- " * IMPORTANT NOTICE\n"
- " *\n"
- " * When reporting bugs, include the COMPLETE, UNEDITED\n"
- " * output below in your bug report.\n"
- " *\n"
- " ************************************************************\n"
- );
- sleep (3);
-
/* Create the handle. */
g = guestfs_create ();
if (g == NULL) {
@@ -165,6 +154,7 @@ main (int argc, char *argv[])
case '?':
usage ();
+ guestfs_set_verbose (g, 0);
exit (EXIT_SUCCESS);
default:
@@ -175,6 +165,17 @@ main (int argc, char *argv[])
}
}
+ /* Everyone ignores the documentation, so ... */
+ printf (" ************************************************************\n"
+ " * IMPORTANT NOTICE\n"
+ " *\n"
+ " * When reporting bugs, include the COMPLETE, UNEDITED\n"
+ " * output below in your bug report.\n"
+ " *\n"
+ " ************************************************************\n"
+ );
+ sleep (3);
+
make_files ();
printf ("===== Test starts here =====\n");