tests: avoid a spurious failure on MSYS
[platform/upstream/automake.git] / t / pr224.sh
old mode 100755 (executable)
new mode 100644 (file)
index 51e3c17..764d9fb
@@ -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
@@ -24,7 +24,7 @@
 # should be '$(top_builddir)/bar/.deps'.
 
 required=cc
-. ./defs || Exit 1
+. test-init.sh
 
 mkdir foo
 
@@ -59,6 +59,6 @@ cd build
 $MAKE
 test -d foo/.deps
 $MAKE distclean
-test -d foo/.deps && Exit 1
+test -d foo/.deps && exit 1
 
 :