test-tool: Print FEBOOTSTRAP_* environment variables (RHBZ#671082).
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 25 Jul 2011 10:21:48 +0000 (11:21 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 27 Jul 2011 14:00:15 +0000 (15:00 +0100)
(cherry picked from commit 15289d4b726d7c38702794df23c61ae40879a46c)

test-tool/test-tool.c

index c21906f..c855682 100644 (file)
@@ -174,6 +174,9 @@ main (int argc, char *argv[])
   for (i = 0; environ[i] != NULL; ++i)
     if (STREQLEN (environ[i], "LIBGUESTFS_", 11))
       printf ("%s\n", environ[i]);
+  for (i = 0; environ[i] != NULL; ++i)
+    if (STREQLEN (environ[i], "FEBOOTSTRAP_", 12))
+      printf ("%s\n", environ[i]);
 
   /* Create the handle and configure it. */
   g = guestfs_create ();