tests: avoid a spurious failure on NetBSD
[platform/upstream/automake.git] / t / dup2.sh
index 82d341c..12419b9 100755 (executable)
--- a/t/dup2.sh
+++ b/t/dup2.sh
@@ -16,7 +16,7 @@
 
 # Make sure aclocal only warns about definitions overridden by acinclude.m4.
 
-. ./defs || exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AM_FUNC_STRTOD