tests: fix spurious failure due to localization issues
[platform/upstream/automake.git] / t / colon5.sh
old mode 100755 (executable)
new mode 100644 (file)
index 5a0ef37..3383767
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1998-2012 Free Software Foundation, Inc.
+# Copyright (C) 1998-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
@@ -16,7 +16,7 @@
 
 # Another multi-":" test, this time from Doug Evans.
 
-. ./defs || Exit 1
+. test-init.sh
 
 cat > configure.ac <<END
 AC_INIT([$me], [1.0])
@@ -50,8 +50,8 @@ $AUTOMAKE
 
 ./configure
 
-grep '=GrEpMe_am=' Makefile && Exit 1  # Sanity check.
-grep '=GrEpMe_dep=' Makefile && Exit 1 # Likewise.
+grep '=GrEpMe_am=' Makefile && exit 1  # Sanity check.
+grep '=GrEpMe_dep=' Makefile && exit 1 # Likewise.
 
 $MAKE test-distcommon
 $MAKE test-distdir