tests: avoid a spurious failure on MSYS
[platform/upstream/automake.git] / t / dejagnu6.sh
old mode 100755 (executable)
new mode 100644 (file)
index 38255f6..e9c3131
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
+# Copyright (C) 2003-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 that "make check" fails, when a DejaGnu test fails.
 
 required=runtest
-. ./defs || Exit 1
+. test-init.sh
 
 cat > faildeja << 'END'
 #! /bin/sh
@@ -50,7 +50,7 @@ $AUTOMAKE --add-missing
 
 ./configure
 
-$MAKE check && Exit 1
+$MAKE check && exit 1
 test -f faildeja.log
 test -f faildeja.sum
 $FGREP 'FAIL: failing_deja_test' faildeja.sum