tests: expose automake bug#13940
[platform/upstream/automake.git] / t / colon2.sh
old mode 100755 (executable)
new mode 100644 (file)
index 2b06151..9eeaf36
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+# Copyright (C) 1996-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/>.
 
 # Make sure ":" works with files automake generates.
-# See also sister test 'colon3.test'.
+# See also sister test 'colon3.sh'.
 
-. ./defs || Exit 1
+. test-init.sh
 
 cat > configure.ac <<END
 AC_INIT([$me], [1.0])
@@ -43,7 +43,7 @@ $FGREP 'zardoz.am' zardoz.in
 $FGREP 'zardoz.in' zardoz.in
 sed -e 's|zardoz\.am|zrdz.am|g' \
     -e 's|zardoz\.in|zrdz.in|g' \
-  <zardoz.in | $FGREP 'zardoz' && Exit 1
+  <zardoz.in | $FGREP 'zardoz' && exit 1
 
 # The configure-generated Makefile should depend on zardoz.in, two.in and
 # three.in.  The automake-generated zardoz.in should depend on zardoz.am.
@@ -58,7 +58,7 @@ test -f Makefile # Sanity check.
 $MAKE dummy
 # Again, make sure that the generated Makefile do not unduly
 # refer to 'zardoz' .
-$MAKE -n zardoz && Exit 1
+$MAKE -n zardoz && exit 1
 
 $sleep
 cat >> zardoz.am <<END