tests: fix an old botched change to an aclocal test
[platform/upstream/automake.git] / t / aclocal-verbose-install.sh
index 095a3f7..3a0afcb 100755 (executable)
@@ -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 verbose messages by 'aclocal --install'.
 
 am_create_testdir=empty
-. ./defs || Exit 1
+. test-init.sh
 
 cat > configure.ac <<END
 AC_INIT([$me], [1.0])
@@ -37,7 +37,7 @@ mkdir foodir
 : > foodir/bar.m4
 
 $ACLOCAL --system-acdir=sys-acdir --install --verbose -I foodir 2>stderr \
- || { cat stderr >&2; Exit 1; }
+ || { cat stderr >&2; exit 1; }
 cat stderr >&2
 grep ' installing .*sys-acdir/bar\.m4.* to .*foodir/bar\.m4' stderr
 grep ' installing .*sys-acdir/quux\.m4.* to .*foodir/quux\.m4' stderr