selftest/README: Fix formatting.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 21 May 2009 15:21:41 +0000 (17:21 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 3 Jun 2009 14:26:30 +0000 (16:26 +0200)
selftest/README

index f8be20a569c787a97ea7d049649093aea345d89e..3fe6af5362a6f5767665110728c3606122c3c4aa 100644 (file)
@@ -11,7 +11,7 @@ the name of the test, the command to run and the environment that should be
 provided. Use the included "plantest" function to generate the required output.
 
 Testsuite behaviour
-================================
+===================
 
 Exit code
 ------------
@@ -31,27 +31,35 @@ for the last announced test.
 Accepted commands are:
 
 test
-~~~~~~~~~~~~
+~~~~
 test: <NAME>
 
 Announce that a new test with the specified name is starting
 
 success
-~~~~~~~~~~~~~~~
+~~~~~~~
 success: <NAME> 
 
 Announce that the test with the specified name is done and ran successfully.
 
 failure
-~~~~~~~~~~~~~~~
+~~~~~~~
 failure: <NAME> 
 failure: <NAME> [ REASON ]
 
 Announce that the test with the specified name failed. Optionally, it is 
 possible to specify a reason it failed.
 
+xfail
+~~~~~
+xfail: <NAME>
+xfail: <NAME> [ REASON ]
+
+Announce that the test with the specified name failed but that the failure
+was expected, e.g. it's a test for a known bug that hasn't been fixed yet.
+
 skip
-~~~~~~~~~~~~
+~~~~
 skip: <NAME>
 skip: <NAME> [ REASON ]