Pino Toscano
2014-Aug-29 14:57 UTC
[Libguestfs] [PATCH] test-tool: improve the envvars printed
Stop printing the FEBOOTSTRAP_* environment variables, since they are not used anymore. Furthermore, print the value of $SUPERMIN as well as SUPERMIN_*. --- test-tool/test-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index 7e8d88e..e59e33c 100644 --- a/test-tool/test-tool.c +++ b/test-tool/test-tool.c @@ -195,7 +195,7 @@ main (int argc, char *argv[]) for (i = 0; environ[i] != NULL; ++i) { if (STRPREFIX (environ[i], "LIBGUESTFS_")) printf ("%s\n", environ[i]); - if (STRPREFIX (environ[i], "FEBOOTSTRAP_")) + if (STRPREFIX (environ[i], "SUPERMIN=")) printf ("%s\n", environ[i]); if (STRPREFIX (environ[i], "SUPERMIN_")) printf ("%s\n", environ[i]); -- 1.9.3
Richard W.M. Jones
2014-Aug-29 21:39 UTC
Re: [Libguestfs] [PATCH] test-tool: improve the envvars printed
On Fri, Aug 29, 2014 at 04:57:17PM +0200, Pino Toscano wrote:> Stop printing the FEBOOTSTRAP_* environment variables, since they are > not used anymore. > Furthermore, print the value of $SUPERMIN as well as SUPERMIN_*.I don't think that SUPERMIN affects libguestfs when it is running. (It does of course affect the ./configure script). However, deleting FEBOOTSTRAP* here, fine and ACK for that. Rich.> test-tool/test-tool.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c > index 7e8d88e..e59e33c 100644 > --- a/test-tool/test-tool.c > +++ b/test-tool/test-tool.c > @@ -195,7 +195,7 @@ main (int argc, char *argv[]) > for (i = 0; environ[i] != NULL; ++i) { > if (STRPREFIX (environ[i], "LIBGUESTFS_")) > printf ("%s\n", environ[i]); > - if (STRPREFIX (environ[i], "FEBOOTSTRAP_")) > + if (STRPREFIX (environ[i], "SUPERMIN=")) > printf ("%s\n", environ[i]); > if (STRPREFIX (environ[i], "SUPERMIN_")) > printf ("%s\n", environ[i]); > -- > 1.9.3 > > _______________________________________________ > Libguestfs mailing list > Libguestfs@redhat.com > https://www.redhat.com/mailman/listinfo/libguestfs-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW