aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-18 16:34:01 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-18 16:34:01 +0200
commit875f782b127d1eee2c40cbc597a6a712a1405c9e (patch)
treec36d4122689b5e56c88f869d8a5e4ea5b79ebf4c
parent6ae6426a7485b5835c23aea198b3065f491d918b (diff)
downloadbusybox-w32-875f782b127d1eee2c40cbc597a6a712a1405c9e.tar.gz
busybox-w32-875f782b127d1eee2c40cbc597a6a712a1405c9e.tar.bz2
busybox-w32-875f782b127d1eee2c40cbc597a6a712a1405c9e.zip
minor tweaks in testsuite
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--testsuite/README21
-rwxr-xr-xtestsuite/runtest2
2 files changed, 13 insertions, 10 deletions
diff --git a/testsuite/README b/testsuite/README
index 03ac377ba..2ead8e994 100644
--- a/testsuite/README
+++ b/testsuite/README
@@ -5,21 +5,12 @@ cases for particular applets:
5 5
6./runtest <applet1> <applet2>... 6./runtest <applet1> <applet2>...
7 7
8The test cases for an applet reside in the subdirectory of the applet name. The
9name of the test case should be the assertion that is tested. The test case
10should be a shell fragment that returns successfully if the test case passes,
11and unsuccessfully otherwise.
12
13Set SKIP_KNOWN_BUGS environment variable to any non-empty value 8Set SKIP_KNOWN_BUGS environment variable to any non-empty value
14to exclude tests which are known to fail. 9to exclude tests which are known to fail.
15 10
16Set SKIP_INTERNET_TESTS to exclude tests which require working 11Set SKIP_INTERNET_TESTS to exclude tests which require working
17internet connection. 12internet connection.
18 13
19If the test case relies on a certain feature, it should include the string
20"FEATURE: " followed by the name of the feature in a comment. If it is always
21expected to fail, it should include the string "XFAIL" in a comment.
22
23 14
24Common causes of false positives: 15Common causes of false positives:
25 16
@@ -30,6 +21,18 @@ are in /etc/localtime.
30LANG and LC_xxx environment variables set to non-C locale. 21LANG and LC_xxx environment variables set to non-C locale.
31 22
32 23
24Developer's notes:
25
26The test cases for an applet reside in the subdirectory of the applet name.
27The name of the test case should be the assertion that is tested.
28The test case should be a shell fragment that returns successfully
29if the test case passes, and unsuccessfully otherwise.
30
31If the test case relies on a certain feature, it should include the string
32"FEATURE: " followed by the name of the feature in a comment. If it is always
33expected to fail, it should include the string "XFAIL" in a comment.
34
35
33For the entire testsuite, the copyright is as follows: 36For the entire testsuite, the copyright is as follows:
34 37
35Copyright (C) 2001, 2002 Matt Kraai 38Copyright (C) 2001, 2002 Matt Kraai
diff --git a/testsuite/runtest b/testsuite/runtest
index 2428f6c36..3ff4b96da 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -2,7 +2,7 @@
2# Usage: 2# Usage:
3# runtest [applet1] [applet2...] 3# runtest [applet1] [applet2...]
4 4
5. testing.sh 5. ./testing.sh
6 6
7# Run one old-style test. 7# Run one old-style test.
8# Tests are stored in applet/testcase shell scripts. 8# Tests are stored in applet/testcase shell scripts.