dc: fix '?'
[oweals/busybox.git] / testsuite / README
index b4719e64cc17186a65c628c6a8313e79655fa03e..b943a1295d16c7ba944f38153e8c7bcd318c34ca 100644 (file)
@@ -5,15 +5,34 @@ cases for particular applets:
 
 ./runtest <applet1> <applet2>...
 
-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.
+Set SKIP_KNOWN_BUGS environment variable to any non-empty value
+to exclude tests which are known to fail.
+
+Set SKIP_INTERNET_TESTS to exclude tests which require working
+internet connection.
+
+
+Common causes of false positives:
+
+For busybox built against uclibc, /etc/TZ does not exist or does not match
+host system timezone setting. For glibc based host systems, timezone settings
+are in /etc/localtime.
+
+LANG and LC_xxx environment variables set to non-C locale.
+
+
+Developer's notes:
+
+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:
 
 Copyright (C) 2001, 2002  Matt Kraai