123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #! /bin/sh
- am_create_testdir=no
- . test-init.sh
- set +e
- unset am_explicit_skips stderr_fileno_
- run_dummy_test ()
- {
- env $2 $AM_TEST_RUNNER_SHELL -c "
- am_create_testdir=no
- . test-init.sh
- $1
- " dummy.sh
- }
- run_dummy_test 'exit 77'
- test $? -eq 77 || exit 1
- run_dummy_test 'sh -c "exit 77"' am_explicit_skips=no
- test $? -eq 77 || exit 1
- run_dummy_test '$PERL -e "exit 77"; true' am_explicit_skips=yes
- test $? -eq 78 || exit 1
- run_dummy_test 'sh -c "exit 77"; exit 0' am_explicit_skips=y
- test $? -eq 78 || exit 1
- run_dummy_test 'skip_ "foo"; :' am_explicit_skips=y
- test $? -eq 77 || exit 1
- :
|