aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2002-02-19 23:54:42 +0000
committerMatt Kraai <kraai@debian.org>2002-02-19 23:54:42 +0000
commitfa144713b8db8aeefc3fcff8caf097cfddbbfd5b (patch)
treeedf18f20ed8a073bd2f9723f11a7bcefb5b9e97e /testsuite/runtest
parent6b140ea5a971153d4e34c2f42fca00400af0b5ba (diff)
downloadbusybox-fa144713b8db8aeefc3fcff8caf097cfddbbfd5b.tar.gz
* testsuite/runtest (show_result): Change UPASS to XPASS.
(run_applet_testcase): Likewise.
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index a4bfebd84..8fb92e696 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -8,7 +8,7 @@ show_result ()
local testcase=$2
local status=0
- if [ $resolution = UPASS -o $resolution = FAIL ]; then
+ if [ $resolution = XPASS -o $resolution = FAIL ]; then
status=1
fi
@@ -25,7 +25,6 @@ run_applet_testcase ()
local testcase=$2
local status=0
- local U=
local X=
local uc_applet=$(echo $applet | tr a-z A-Z)
@@ -46,7 +45,6 @@ run_applet_testcase ()
fi
if grep -q "^# XFAIL$" $testcase; then
- U=U
X=X
fi
@@ -54,7 +52,7 @@ run_applet_testcase ()
pushd tmp >/dev/null
if . ../$testcase >/dev/null 2>&1; then
- show_result ${U}PASS $testname
+ show_result ${X}PASS $testname
status=$!
else
show_result ${X}FAIL $testname