X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=testsuite%2FREADME;h=40439bfe8cbf6208088c898ac7cfec30e3595e0e;hb=1dc0ccafddf9b5f540008b7cabbf3ab1f4f53ee3;hp=4cbbb4621c2dc629ce0fd0dae386f33d7093afea;hpb=6be2319873ec65bc6b853307bcb8f2d4ec224392;p=oweals%2Fbusybox.git diff --git a/testsuite/README b/testsuite/README index 4cbbb4621..40439bfe8 100644 --- a/testsuite/README +++ b/testsuite/README @@ -1,18 +1,16 @@ -To run the test suite, change to this directory and run -"./runtest". It will run all of the test cases, and list those -with unexpected outcomes. Adding the -v option will cause it to -show expected outcomes as well. To only run the test cases for -particular applets, specify them as parameters to runtest. +To run the test suite, change to this directory and run "./runtest". It will +run all of the test cases, and list those with unexpected outcomes. Adding the +-v option will cause it to show expected outcomes as well. To only run the test +cases for particular applets, specify them as parameters to runtest. -The test cases for an applet reside in the subdirectory of the -applet name. The name of the test case should be the assertion -that is tested. The test case should be a shell fragment that -returns successfully if the test case passes, and unsuccessfully -otherwise. If the test case is known to fail, it should be marked -as such by including the string "XFAIL" in a comment. If a -certain feature must be enabled for it to pass, it should indicate -that by including the string "UNSUPPORTED: " followed by the -feature name in a comment. +The test cases for an applet reside in the subdirectory of the applet name. The +name of the test case should be the assertion that is tested. The test case +should be a shell fragment that returns successfully if the test case passes, +and unsuccessfully otherwise. + +If the test case relies on a certain feature, it should include the string +"FEATURE: " followed by the name of the feature in a comment. If it is always +expected to fail, it should include the string "XFAIL" in a comment. For the entire testsuite, the copyright is as follows: