From: Richard Jones Date: Wed, 14 Sep 2011 12:52:39 +0000 (+0100) Subject: test-tool: Display TMPDIR. X-Git-Tag: 1.13.12~1 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=bddde7799b80b8292879634548c3c92a3cc1c044;hp=cda7fa973cbdd5fc4ad3974dcc6b5ea02ec6bb44 test-tool: Display TMPDIR. --- diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index ca8d9b8..55e503f 100644 --- a/test-tool/test-tool.c +++ b/test-tool/test-tool.c @@ -165,6 +165,7 @@ main (int argc, char *argv[]) for (i = 0; environ[i] != NULL; ++i) if (STREQLEN (environ[i], "FEBOOTSTRAP_", 12)) printf ("%s\n", environ[i]); + printf ("TMPDIR=%s\n", getenv ("TMPDIR") ? : "(not set)"); /* Create the handle and configure it. */ g = guestfs_create ();