test-tool: Add prominent warning about including complete output.

Everyone ignores the documentation.  Everyone ignores me even
when I specifically tell them to include the complete output.

Place a prominent notice at the beginning of the output.
This commit is contained in:
Richard W.M. Jones
2012-09-26 12:26:33 +01:00
parent ca2e65275d
commit 4f3048c6be

View File

@@ -104,6 +104,17 @@ 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) {