local testcase=$2
local status=0
- if [ $resolution = UPASS -o $resolution = FAIL ]; then
+ if [ $resolution = XPASS -o $resolution = FAIL ]; then
status=1
fi
local testcase=$2
local status=0
- local U=
local X=
local uc_applet=$(echo $applet | tr a-z A-Z)
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
fi
if grep -q "^# XFAIL$" $testcase; then
- U=U
X=X
fi
pushd tmp >/dev/null
if . ../$testcase >/dev/null 2>&1; then
- show_result ${U}PASS $testname
- status=$!
+ show_result ${X}PASS $testname
+ status=$?
else
show_result ${X}FAIL $testname
- status=$!
+ status=$?
fi
popd >/dev/null