tests: avoid a spurious failure on MSYS
[platform/upstream/automake.git] / t / parallel-tests-log-compiler-example.sh
old mode 100755 (executable)
new mode 100644 (file)
index 8b45758..8b81697
@@ -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,9 +17,8 @@
 # Test the example of usage of generic and extension-specific
 # LOG_COMPILER and LOG_FLAGS given in the manual.
 
-am_parallel_tests=yes
 required=python
-. ./defs || Exit 1
+. test-init.sh
 
 cat >> configure.ac <<END
 AC_SUBST([PERL], ['$PERL'])
@@ -59,7 +58,7 @@ $MAKE check || st=$?
 cat foo.log
 cat bar.log
 cat baz.log
-test $st -eq 0 || Exit $st
+test $st -eq 0 || exit $st
 
 # Check that the wrappers have been run with the expected flags.
 grep '[rR]eversed.*+=.*operator.*foo\.pl' foo.log