git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
32 bit: Fix printf off_t.
[libguestfs.git]
/
test-tool
/
test-tool.c
diff --git
a/test-tool/test-tool.c
b/test-tool/test-tool.c
index
59b9d67
..
27d66f7
100644
(file)
--- a/
test-tool/test-tool.c
+++ b/
test-tool/test-tool.c
@@
-13,7
+13,7
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+ * Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
*/
#include <config.h>
*/
#include <config.h>
@@
-64,7
+64,7
@@
#define P_tmpdir "/tmp"
#endif
#define P_tmpdir "/tmp"
#endif
-#define DEFAULT_TIMEOUT
12
0
+#define DEFAULT_TIMEOUT
60
0
static int timeout = DEFAULT_TIMEOUT;
static char tmpf[] = P_tmpdir "/libguestfs-test-tool-sda-XXXXXX";
static int timeout = DEFAULT_TIMEOUT;
static char tmpf[] = P_tmpdir "/libguestfs-test-tool-sda-XXXXXX";
@@
-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]);
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 ();
/* Create the handle and configure it. */
g = guestfs_create ();
@@
-205,6
+206,7
@@
main (int argc, char *argv[])
printf ("guestfs_get_recovery_proc: %d\n",
guestfs_get_recovery_proc (g));
printf ("guestfs_get_selinux: %d\n", guestfs_get_selinux (g));
printf ("guestfs_get_recovery_proc: %d\n",
guestfs_get_recovery_proc (g));
printf ("guestfs_get_selinux: %d\n", guestfs_get_selinux (g));
+ printf ("guestfs_get_smp: %d\n", guestfs_get_smp (g));
printf ("guestfs_get_trace: %d\n", guestfs_get_trace (g));
printf ("guestfs_get_verbose: %d\n", guestfs_get_verbose (g));
printf ("guestfs_get_trace: %d\n", guestfs_get_trace (g));
printf ("guestfs_get_verbose: %d\n", guestfs_get_verbose (g));