diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-26 23:34:42 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-26 23:43:06 +0100 |
commit | 2eacd4a19157586ffa122318f1d2e2fd94a5e44f (patch) | |
tree | bfe7f6f7dce924b187f520adbc86ccafa6e3d887 | |
parent | 05d4e07918bfa9907a1fa66391e8e2e2370c64d4 (diff) | |
download | libguestfs-2eacd4a19157586ffa122318f1d2e2fd94a5e44f.tar.gz libguestfs-2eacd4a19157586ffa122318f1d2e2fd94a5e44f.tar.xz libguestfs-2eacd4a19157586ffa122318f1d2e2fd94a5e44f.zip |
fuse: Use the ./run --test script to run tests.
-rw-r--r-- | fuse/Makefile.am | 3 | ||||
-rwxr-xr-x | fuse/test-fuse.sh | 7 |
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" |