am-ft: make the environment available earlier
[platform/upstream/automake.git] / t / aclocal-print-acdir.sh
old mode 100755 (executable)
new mode 100644 (file)
index d057d82..86b0fc4
@@ -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
 # Test on aclocal's '--print-ac-dir' option.
 
 am_create_testdir=empty
-. ./defs || exit 1
+. test-init.sh
 
 $ACLOCAL --print-ac-dir
 test "$($ACLOCAL --print-ac-dir)" = "$am_system_acdir"
 
-$ACLOCAL -Wno-obsolete --acdir foo --print-ac-dir
-test "$($ACLOCAL -Wno-obsolete --acdir foo --print-ac-dir)" = foo
-
 $ACLOCAL --system-acdir /bar --print-ac-dir
 test "$($ACLOCAL --system-acdir /bar --print-ac-dir)" = /bar