summaryrefslogtreecommitdiffstats
path: root/cat
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-08-08 12:41:54 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-08-08 12:41:54 +0100
commitf7d18c84dde596699ffc5100fec2cf7b0d582450 (patch)
tree0f1a43165ed98b3d53dc8081bd6a9d456ab2d539 /cat
parent54ea124b160eda705c96dfc664b4056848887856 (diff)
downloadlibguestfs-f7d18c84dde596699ffc5100fec2cf7b0d582450.tar.gz
libguestfs-f7d18c84dde596699ffc5100fec2cf7b0d582450.tar.xz
libguestfs-f7d18c84dde596699ffc5100fec2cf7b0d582450.zip
build: Set TMPDIR for local testing.
This avoids conflicts with the globally installed libguestfs appliance, or lets us build in multiple local directories at the same time without conflicts.
Diffstat (limited to 'cat')
-rw-r--r--cat/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/cat/Makefile.am b/cat/Makefile.am
index bf1d57ca..6022cd69 100644
--- a/cat/Makefile.am
+++ b/cat/Makefile.am
@@ -133,6 +133,7 @@ random_val := $(shell awk 'BEGIN{srand(); print 1+int(255*rand())}' < /dev/null)
TESTS_ENVIRONMENT = \
MALLOC_PERTURB_=$(random_val) \
LD_LIBRARY_PATH=$(top_builddir)/src/.libs \
- LIBGUESTFS_PATH=$(top_builddir)/appliance
+ LIBGUESTFS_PATH=$(top_builddir)/appliance \
+ TMPDIR=$(top_builddir)
TESTS = test-virt-cat.sh test-virt-filesystems.sh test-virt-ls.sh