tests: expose weaknesses in make flags analysis
[platform/upstream/automake.git] / t / depcomp-implicit-auxdir.sh
index 81528b2..9ec2078 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2000-2012 Free Software Foundation, Inc.
+# Copyright (C) 2000-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 @@
 # Make sure a top-level depcomp file is found when
 # AC_CONFIG_AUX_DIR is not specified.
 
-. ./defs || Exit 1
+. test-init.sh
 
 mkdir lib src
 
@@ -65,6 +65,6 @@ $AUTOMAKE --gnu
 # so that more files are included in lib's DIST_COMMON definition,
 # then you must handle the case in which depcomp is listed on a
 # continued line.
-grep '^DIST_COMMON.*depcomp' lib/Makefile.in && Exit 1
+grep '^DIST_COMMON.*depcomp' lib/Makefile.in && exit 1
 
 :