tests: avoid a spurious failure on NetBSD
[platform/upstream/automake.git] / t / test-harness-vpath-rewrite.sh
index f0f71c6..ce904ce 100755 (executable)
@@ -17,8 +17,7 @@
 # Check that our concurrent test harness is not subject to spurious VPATH
 # rewrites.
 
-am_parallel_tests=yes
-. ./defs || Exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AC_OUTPUT
@@ -52,7 +51,7 @@ test -f bar.trs
 test -f baz.log
 test -f baz.trs
 # We don't want VPATH rewrites, really.
-$MAKE check -n | $EGREP '\.\./(foo|bar|baz)( |$)' && Exit 1
+$MAKE check -n | $EGREP '\.\./(foo|bar|baz)( |$)' && exit 1
 $MAKE distcheck
 
 :