tests: prefer including 'test-init.sh' rather than './defs'
[platform/upstream/automake.git] / t / condhook.sh
index 18ebcb3..8cfc94c 100755 (executable)
@@ -18,7 +18,7 @@
 # Keep this in sync with sister test 'condhook2.sh'.
 # Report by Nik A. Melchior (PR/428).
 
-. ./defs || exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AM_CONDITIONAL([TEST], [false])