test-tool: Display TMPDIR.
[libguestfs.git] / test-tool / test-tool.c
index 92ad0a0..55e503f 100644 (file)
@@ -64,7 +64,7 @@
 #define P_tmpdir "/tmp"
 #endif
 
-#define DEFAULT_TIMEOUT 120
+#define DEFAULT_TIMEOUT 600
 
 static int timeout = DEFAULT_TIMEOUT;
 static char tmpf[] = P_tmpdir "/libguestfs-test-tool-sda-XXXXXX";
@@ -162,6 +162,10 @@ 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]);
+  printf ("TMPDIR=%s\n", getenv ("TMPDIR") ? : "(not set)");
 
   /* Create the handle and configure it. */
   g = guestfs_create ();