tests: avoid a spurious failure on MSYS
[platform/upstream/automake.git] / t / strip.sh
old mode 100755 (executable)
new mode 100644 (file)
index abc2c86..9c9998d
@@ -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
@@ -17,7 +17,7 @@
 # Test for install-strip.
 
 required=cc
-. ./defs || Exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AC_PROG_CC
@@ -41,7 +41,7 @@ $ACLOCAL
 $AUTOCONF
 $AUTOMAKE -a
 
-prefix=$(cd install && pwd) || Exit 99
+prefix=$(cd install && pwd) || exit 99
 ./configure --prefix="$prefix"
 $MAKE
 $MAKE install-strip