tests: prefer including 'test-init.sh' rather than './defs'
[platform/upstream/automake.git] / t / werror4.sh
index 1b930d5..7908d1d 100755 (executable)
@@ -16,7 +16,7 @@
 
 # -Werror and local -Werror settings should be flagged for the user.
 
-. ./defs || exit 1
+. test-init.sh
 
 cat >>configure.ac <<\END
 AC_CONFIG_FILES([sub/Makefile])