12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac <<'END'
- AC_OUTPUT
- END
- cat > Makefile.am <<'END'
- TEST_LOG_DRIVER = ./oops
- TESTS = foo.test
- END
- cat > foo.test <<'END'
- #! /bin/sh
- exit 0
- END
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE
- ./configure
- $MAKE check && exit 1
- test ! -e test-suite.log
- cat > oops <<'END'
- #!/bin/sh
- : > foo.log
- echo 'Oops, I fail!' >&2
- exit 1
- END
- chmod a+x oops
- $MAKE check && exit 1
- test ! -e test-suite.log
- :
|