tests: prefer including 'test-init.sh' rather than './defs'
[platform/upstream/automake.git] / t / yacc-clean-cxx.sh
index f30ce1b..7bc009d 100755 (executable)
@@ -21,7 +21,7 @@
 # See also sister test 'yacc-clean.sh'.
 
 required='c++ yacc'
-. ./defs || exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AC_PROG_CXX