test harness: improve catching of usage errors in script 'test-driver'
[platform/upstream/automake.git] / t / parallel-tests-dry-run-1.sh
old mode 100755 (executable)
new mode 100644 (file)
index f5496e3..be81456
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-2013 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Check interactions between the parallel test harness and "make -n".
-# See also sister test 'parallel-tests-dry-run-2.test'.
+# See also sister test 'parallel-tests-dry-run-2.sh'.
 
-. ./defs || Exit 1
+. test-init.sh
 
 echo AC_OUTPUT >> configure.ac
 
@@ -82,7 +82,7 @@ END
 
 chmod a+x foo.test bar.test
 
-$MAKE check && Exit 1
+$MAKE check && exit 1
 
 for targ in recheck clean mostlyclean distclean; do
   $MAKE -n "$targ"