tests: strengthen the ylwrap tests
[platform/upstream/automake.git] / t / nodist3.sh
index 23becc1..cb302d2 100755 (executable)
@@ -16,7 +16,7 @@
 
 # Test to make sure no-dist option works.
 
-. ./defs || Exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AC_PROG_CC
@@ -31,7 +31,7 @@ END
 $ACLOCAL
 $AUTOMAKE
 
-grep '^dist:' Makefile.in && Exit 1
-grep '^DIST_SOURCES =' Makefile.in && Exit 1
+grep '^dist:' Makefile.in && exit 1
+grep '^DIST_SOURCES =' Makefile.in && exit 1
 
 :