diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-07-25 11:21:48 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-07-27 15:05:31 +0100 |
commit | a4c6d9e87b8da55f9dd6351575ee659db0a1505e (patch) | |
tree | 384d1a0f65abc00192b4c4ea90d4c133384cf995 | |
parent | 89db74583bd52b81a7c53632a3ce15d05adff411 (diff) | |
download | libguestfs-a4c6d9e87b8da55f9dd6351575ee659db0a1505e.tar.gz libguestfs-a4c6d9e87b8da55f9dd6351575ee659db0a1505e.tar.xz libguestfs-a4c6d9e87b8da55f9dd6351575ee659db0a1505e.zip |
test-tool: Print FEBOOTSTRAP_* environment variables (RHBZ#671082).
(cherry picked from commit 15289d4b726d7c38702794df23c61ae40879a46c)
-rw-r--r-- | test-tool/test-tool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index 11e8539e..d8788481 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 (); |