summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-07-25 11:21:48 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-07-26 12:48:59 +0100
commit15289d4b726d7c38702794df23c61ae40879a46c (patch)
tree51ade2a86e72a64194f0c4d7c0c3ea52700ef6c0
parentdeb95471fbd229605d9916ff90b2ff7cf92633eb (diff)
downloadlibguestfs-15289d4b726d7c38702794df23c61ae40879a46c.tar.gz
libguestfs-15289d4b726d7c38702794df23c61ae40879a46c.tar.xz
libguestfs-15289d4b726d7c38702794df23c61ae40879a46c.zip
test-tool: Print FEBOOTSTRAP_* environment variables (RHBZ#671082).
-rw-r--r--test-tool/test-tool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c
index 92ad0a05..59b9d67a 100644
--- a/test-tool/test-tool.c
+++ b/test-tool/test-tool.c
@@ -162,6 +162,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 ();