tests: strengthen the ylwrap tests
[platform/upstream/automake.git] / t / tap-planskip-badexit.sh
index fbb3b56..cf39060 100755 (executable)
 #  - an exit status != 0 of a test script causes an hard error, even if
 #    the last line of output is a "SKIP plan" (e.g., "1..0 # SKIP").
 
-am_parallel_tests=yes
-. ./defs || Exit 1
+. test-init.sh
 
 echo TESTS = one.test two.test > Makefile.am
 
-. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
+. tap-setup.sh
 
 cat > one.test <<'END'
 #!/bin/sh
@@ -39,7 +38,7 @@ END
 
 chmod a+x one.test two.test
 
-$MAKE check >stdout && { cat stdout; Exit 1; }
+$MAKE check >stdout && { cat stdout; exit 1; }
 cat stdout
 
 # The 'prove' utility reports both the skip and the non-zero exit status,