tests: expose automake bug#14560
[platform/upstream/automake.git] / t / confh-subdir-clean.sh
old mode 100755 (executable)
new mode 100644 (file)
index 26f3957..beb6cec
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-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
@@ -16,7 +16,7 @@
 
 # Test to make sure config headers in subdirectories are cleaned.
 
-. ./defs || Exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AC_CONFIG_HEADERS([sub/config.h:sub/config.hin])
@@ -35,6 +35,6 @@ test -f sub/stamp-h1
 $MAKE clean
 test -f sub/stamp-h1
 $MAKE distclean
-test -f sub/stamp-h1 && Exit 1
+test -f sub/stamp-h1 && exit 1
 
 :