tests: expose automake bug#14560
[platform/upstream/automake.git] / t / javadir-undefined.sh
old mode 100755 (executable)
new mode 100644 (file)
index e2ed7f6..1aee94d
@@ -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
 # the *.class files).
 # See automake bug#8461.
 
-. ./defs || Exit 1
+. test-init.sh
 
 $ACLOCAL
 
 echo java_JAVA = a.java > Makefile.am
 AUTOMAKE_fails
 grep '^Makefile\.am:1:.*java_JAVA.*javadir.* undefined' stderr
-$EGREP '(uninitialized|line) ' stderr && Exit 1
+$EGREP '(uninitialized|line) ' stderr && exit 1
 
 echo javadir = a-dummy-value >> Makefile.am
 $AUTOMAKE