summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fuse/Makefile.am3
-rwxr-xr-xfuse/test-fuse.sh7
2 files changed, 2 insertions, 8 deletions
diff --git a/fuse/Makefile.am b/fuse/Makefile.am
index f9d513bd..1ab8c7bd 100644
--- a/fuse/Makefile.am
+++ b/fuse/Makefile.am
@@ -76,6 +76,7 @@ if ENABLE_APPLIANCE
TESTS = test-fuse.sh
endif ENABLE_APPLIANCE
TESTS_ENVIRONMENT = \
- top_builddir=..
+ top_builddir=.. \
+ $(top_builddir)/run --test
endif HAVE_FUSE
diff --git a/fuse/test-fuse.sh b/fuse/test-fuse.sh
index 8dc658bb..255e524d 100755
--- a/fuse/test-fuse.sh
+++ b/fuse/test-fuse.sh
@@ -46,13 +46,6 @@ nr_stages=$(grep "^stage " $0 | wc -l)
# and move to that directory for the initial phase of the script.
top_builddir=$(cd "$top_builddir" > /dev/null; pwd)
-# Set TMPDIR so the appliance doesn't conflict with globally
-# installed libguestfs.
-export TMPDIR=$top_builddir
-
-# Set libguestfs up for running locally.
-export LIBGUESTFS_PATH="$top_builddir/appliance"
-
# Paths to the other programs and files. NB: Must be absolute paths.
guestfish="$top_builddir/fish/guestfish"
guestmount="$top_builddir/fuse/guestmount"