tests: prefer including 'test-init.sh' rather than './defs'
[platform/upstream/automake.git] / t / aminit-moreargs-deprecation.sh
index a8d4605..99ac969 100755 (executable)
@@ -17,7 +17,7 @@
 # Check that automake warns against old-style usages of AM_INIT_AUTOMAKE
 # (i.e., calls with two or three arguments).
 
-. ./defs || exit 1
+. test-init.sh
 
 warn_rx='AM_INIT_AUTOMAKE.* two-.* three-arguments form.*deprecated'