X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=test%2FREADME;h=c61647eb4c32c5f29236fc4c5bababf826da9ee8;hp=ddfa381c2402c8253039528c8dd05819212e373e;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=031871c2ede845956070da603e8494690f7beb70 diff --git a/test/README b/test/README index ddfa381..c61647e 100644 --- a/test/README +++ b/test/README @@ -3,7 +3,14 @@ nmh unit test suite. The purpose of these tests is to verify the functionality of the nmh commands. The goal of the suite is to create an environment where testing nmh commands is easy and useful. Each test is a shell script, and is -launched via the 'sh' command. +launched via the 'sh' command. The script should run the test and report +the result by one of: + + * for a test pass: exit with status 0 + * where a test has been skipped (perhaps because it depends on an + external program which can't be found): print "Test $0 SKIP (reason)" + and exit with status 120 + * for a test fail: exit with some status other than 0 or 120 The Suite is arranged as such: