]>
Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - tests/test-lib-functions.sh
3 test_expect_failure
() {
4 test "$#" = 3 && { test_prereq
=$1; shift; } || test_prereq
=
6 error
"bug in the test script: not 2 or 3 parameters to test-expect-failure"
10 say
>&3 "checking known breakage: $2"
11 if test_run_
"$2" expecting_failure
21 test_expect_success
() {
22 test "$#" = 3 && { test_prereq
=$1; shift; } || test_prereq
=
24 error
"bug in the test script: not 2 or 3 parameters to test-expect-success"
28 say
>&3 "expecting success: $2"