tests: expose automake bug#14560
[platform/upstream/automake.git] / t / remake-deleted-am.sh
old mode 100755 (executable)
new mode 100644 (file)
index 4bd77d6..1216c12
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-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
@@ -17,7 +17,7 @@
 # Check that inclusion of '.am' fragments by automake does not suffer
 # of the "deleted header problem".  Basic checks are done here.
 
-. ./defs || Exit 1
+. test-init.sh
 
 echo AC_OUTPUT >> configure.ac
 
@@ -49,7 +49,7 @@ mv -f t Makefile.am
 rm -f foo.am
 $MAKE Makefile
 # Sanity checks.
-$FGREP 'this is foo' Makefile.in Makefile && Exit 1
+$FGREP 'this is foo' Makefile.in Makefile && exit 1
 $FGREP 'this is bar' Makefile.in
 $FGREP 'this is bar' Makefile
 $FGREP 'this is baz' Makefile.in
@@ -62,6 +62,6 @@ $MAKE Makefile
 # Sanity checks.
 $FGREP 'empty empty' Makefile.in
 $FGREP 'empty empty' Makefile
-grep 'this is ba[rz]' Makefile Makefile.in && Exit 1
+grep 'this is ba[rz]' Makefile Makefile.in && exit 1
 
 :