← Commit list

6b140ea5a

Matt Kraai
Matt Kraai
2002-02-19
FAILED Duration: 345s

Subject

* testsuite/README: Change "UNSUPPORTED" tag to "FEATURE". * testsuite/runtest (run_applet_testcase): Likewise. * testsuite/cp/cp-preserves-hard-links: Likewise. * testsuite/grep/egrep-supports-extended-regexps: Likewise. * testsuite/grep/grep-is-also-egrep: Likewise. * testsuite/tar/tar-archives-mu

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/README+5 -4
@@ -6,10 +6,11 @@ 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.
+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:
testsuite/cp/cp-preserves-hard-links+1 -1
@@ -1,4 +1,4 @@
-# UNSUPPORTED: CONFIG_FEATURE_PRESERVE_HARDLINKS
+# FEATURE: CONFIG_FEATURE_PRESERVE_HARDLINKS
touch foo
ln foo bar
mkdir baz
testsuite/grep/egrep-supports-extended-regexps+1 -1
@@ -1,2 +1,2 @@
-# UNSUPPORTED: CONFIG_FEATURE_GREP_EGREP_ALIAS
+# FEATURE: CONFIG_FEATURE_GREP_EGREP_ALIAS
test x`echo foo | busybox egrep fo+` = xfoo
testsuite/grep/grep-is-also-egrep+1 -1
@@ -1,2 +1,2 @@
-# UNSUPPORTED: CONFIG_FEATURE_GREP_EGREP_ALIAS
+# FEATURE: CONFIG_FEATURE_GREP_EGREP_ALIAS
echo foo | busybox egrep foo
testsuite/runtest+2 -2
@@ -36,8 +36,8 @@ run_applet_testcase ()
return 0
fi
- if grep -q "^# UNSUPPORTED: " $testcase; then
- local feature=`sed -ne 's/.*UNSUPPORTED: //p' $testcase`
+ if grep -q "^# FEATURE: " $testcase; then
+ local feature=`sed -ne 's/^# FEATURE: //p' $testcase`
if grep -q "^# ${feature} is not set$" ../.config; then
show_result UNTESTED $testname
testsuite/tar/tar-archives-multiple-files+1 -1
@@ -1,4 +1,4 @@
-# UNSUPPORTED: CONFIG_FEATURE_TAR_CREATE
+# FEATURE: CONFIG_FEATURE_TAR_CREATE
touch foo bar
busybox tar cf foo.tar foo bar
rm foo bar
testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list+1 -1
@@ -1,4 +1,4 @@
-# UNSUPPORTED: CONFIG_FEATURE_TAR_EXCLUDE
+# FEATURE: CONFIG_FEATURE_TAR_EXCLUDE
touch foo
tar cf foo.tar foo
echo foo >foo.exclude
testsuite/tar/tar-handles-exclude-and-extract-lists+1 -1
@@ -1,4 +1,4 @@
-# UNSUPPORTED: CONFIG_FEATURE_TAR_EXCLUDE
+# FEATURE: CONFIG_FEATURE_TAR_EXCLUDE
touch foo bar baz
tar cf foo.tar foo bar baz
echo foo >foo.exclude
testsuite/tar/tar-handles-nested-exclude+1 -1
@@ -1,4 +1,4 @@
-# UNSUPPORTED: CONFIG_FEATURE_TAR_EXCLUDE
+# FEATURE: CONFIG_FEATURE_TAR_EXCLUDE
mkdir foo
touch foo/bar
tar cf foo.tar foo