tests: cosmetic changes in t/extra-sources.sh
[platform/upstream/automake.git] / t / pr307.sh
old mode 100755 (executable)
new mode 100644 (file)
index abcff80..e2cc256
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-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
@@ -33,7 +33,7 @@
 #  compilation.
 
 required='libtoolize gcc'
-. ./defs || Exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AC_PROG_CC
@@ -76,7 +76,7 @@ grep am_cv_CC_dependencies_compiler_type configure
 ./configure am_cv_CC_dependencies_compiler_type=dashmstdout
 
 $MAKE
-test -f librace.la && Exit 1
+test -f librace.la && exit 1
 $MAKE check
 
 # The failure we check usually occurs during the above build,