Next: , Previous: , Up: Writing new test cases   [Contents][Index]


10.2.7 miscarry

The miscarry function is used to indicate that while the test suite has not found a problem with the programs being tested, there has been some other kind of problem that prevents further testing.

Typical usage might be:-

remove foo
echo '%M%' > foo
test `cat foo` = '%M%' || miscarry cannot create file foo.