summaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
authorChris Metcalf2010-04-02 09:57:27 +0200
committerDenys Vlasenko2010-04-02 09:57:27 +0200
commit208d35d21fbae0f1c1aa3bed4ca97717565b76e2 (patch)
treea3b1c7670c3704dc20bc569457bcc5f54a3ca422 /testsuite/runtest
parent37201213ca45f2163abed70a213bb24956b243a8 (diff)
downloadbusybox-208d35d21fbae0f1c1aa3bed4ca97717565b76e2.zip
busybox-208d35d21fbae0f1c1aa3bed4ca97717565b76e2.tar.gz
testsuite fixes
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest10
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 5ddf07d..c300233 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -26,10 +26,12 @@ run_applet_testcase()
if grep "^# FEATURE: " "$testcase" >/dev/null; then
local feature=$(sed -ne 's/^# FEATURE: //p' "$testcase")
- if grep "^# $feature is not set$" "$bindir/.config" >/dev/null; then
- echo "UNTESTED: $testname"
- return 0
- fi
+ for f in $feature; do
+ if grep "^# $f is not set$" "$bindir/.config" >/dev/null; then
+ echo "UNTESTED: $testname"
+ return 0
+ fi
+ done
fi
rm -rf ".tmpdir.$applet"