am-ft: make the environment available earlier
[platform/upstream/automake.git] / t / check-no-test-driver.sh
old mode 100755 (executable)
new mode 100644 (file)
index bcb2cc9..976d19e
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-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
@@ -18,7 +18,7 @@
 # installed or referenced when the 'serial-tests' option is used.
 
 am_serial_tests=yes
-. ./defs || exit 1
+. test-init.sh
 
 cat > Makefile.am <<'END'
 AUTOMAKE_OPTIONS = serial-tests