tests: avoid a spurious failure on MSYS
[platform/upstream/automake.git] / t / candist.sh
old mode 100755 (executable)
new mode 100644 (file)
index aaa40d4..5092eca
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-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 @@
 
 # Test to make sure things that cannot be dist_'ed are diagnosed.
 
-. ./defs || Exit 1
+. test-init.sh
 
 echo AC_OUTPUT >>configure.ac
 
@@ -29,4 +29,4 @@ $ACLOCAL
 AUTOMAKE_fails
 test 2 -eq $(grep -c 'dist.*forbidden' stderr)
 
-Exit 0
+exit 0