From: Richard Jones Date: Wed, 14 Sep 2011 12:52:39 +0000 (+0100) Subject: test-tool: Display TMPDIR. X-Git-Tag: 1.12.7~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=92bd7bbe43217889509360bf91e2f078ec2e7b45;p=libguestfs.git test-tool: Display TMPDIR. (cherry picked from commit bddde7799b80b8292879634548c3c92a3cc1c044) --- 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 ();