diff --git a/haskell/run-bindtests b/haskell/run-bindtests index f9ea43478..7b45145bc 100755 --- a/haskell/run-bindtests +++ b/haskell/run-bindtests @@ -19,4 +19,4 @@ set -e ./Bindtests > bindtests.tmp -diff -u ../bindtests bindtests.tmp +diff -u ${srcdir}/../bindtests bindtests.tmp diff --git a/inspector/Makefile.am b/inspector/Makefile.am index 03e13d825..2389dbd14 100644 --- a/inspector/Makefile.am +++ b/inspector/Makefile.am @@ -90,7 +90,7 @@ stamp-virt-inspector.pod: virt-inspector.pod if HAVE_XMLLINT TESTS = $(EXAMPLE_XML) -TESTS_ENVIRONMENT = $(XMLLINT) --noout --relaxng virt-inspector.rng +TESTS_ENVIRONMENT = $(XMLLINT) --noout --relaxng $(srcdir)/virt-inspector.rng endif diff --git a/java/run-bindtests b/java/run-bindtests index b80c4dc5b..7e6eb7f49 100755 --- a/java/run-bindtests +++ b/java/run-bindtests @@ -19,4 +19,4 @@ set -e $JAVA -Djava.library.path=.libs Bindtests > bindtests.tmp -diff -u ../bindtests bindtests.tmp +diff -u ${srcdir}/../bindtests bindtests.tmp diff --git a/ocaml/run-bindtests b/ocaml/run-bindtests index 5200fecf4..d9a30470c 100755 --- a/ocaml/run-bindtests +++ b/ocaml/run-bindtests @@ -19,4 +19,4 @@ set -e ./bindtests > bindtests.tmp -diff -u ../bindtests bindtests.tmp +diff -u ${srcdir}/../bindtests bindtests.tmp diff --git a/perl/run-bindtests b/perl/run-bindtests index d9d1ca382..f9cf23129 100755 --- a/perl/run-bindtests +++ b/perl/run-bindtests @@ -20,4 +20,4 @@ set -e export PERL5LIB=$(pwd)/blib/lib:$(pwd)/blib/arch perl bindtests.pl > bindtests.tmp -diff -u ../bindtests bindtests.tmp +diff -u ${srcdir}/../bindtests bindtests.tmp diff --git a/python/run-bindtests b/python/run-bindtests index 17448c3b5..08a24e6fd 100755 --- a/python/run-bindtests +++ b/python/run-bindtests @@ -18,5 +18,5 @@ set -e -python bindtests.py > bindtests.tmp -diff -u ../bindtests bindtests.tmp +python ${srcdir}/bindtests.py > bindtests.tmp +diff -u ${srcdir}/../bindtests bindtests.tmp diff --git a/ruby/run-bindtests b/ruby/run-bindtests index 803d4c6ff..3bfa226d5 100755 --- a/ruby/run-bindtests +++ b/ruby/run-bindtests @@ -19,4 +19,4 @@ set -e ruby -Ilib -Iext/guestfs bindtests.rb > bindtests.tmp -diff -u ../bindtests bindtests.tmp +diff -u ${srcdir}/../bindtests bindtests.tmp