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
13 test_known_broken_ok_
"$1"
15 test_known_broken_failure_
"$1"
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"