tests: expose automake bug#13940
[platform/upstream/automake.git] / t / lisp-loadpath.sh
old mode 100755 (executable)
new mode 100644 (file)
index 50748ce..6d381bd
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-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
@@ -18,7 +18,7 @@
 # required by other files.  Related to automake bug#11806.
 
 required=emacs
-. ./defs || exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AM_PATH_LISPDIR
@@ -55,7 +55,7 @@ test ! -e foo.elc
 # stuff in the srcdir.
 echo "(provide" > ../foo.el  # Break it.
 echo "defun)" > ../bar.el    # Likewise.
-$MAKE && Exit 1
+$MAKE && exit 1
 $sleep
 echo "(provide 'foo)" > foo.el
 echo "(provide 'bar)" > bar.el