From: Richard W.M. Jones Date: Mon, 25 Jul 2011 10:21:48 +0000 (+0100) Subject: test-tool: Print FEBOOTSTRAP_* environment variables (RHBZ#671082). X-Git-Tag: 1.10.6~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=a4c6d9e87b8da55f9dd6351575ee659db0a1505e;p=libguestfs.git test-tool: Print FEBOOTSTRAP_* environment variables (RHBZ#671082). (cherry picked from commit 15289d4b726d7c38702794df23c61ae40879a46c) --- diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index 11e8539..d878848 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 ();