aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-08-11 10:40:12 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-08-11 10:40:12 +0200
commit2969e24e2a808d98dee59982302ffb89e968af49 (patch)
tree2dbaf5c6e95f98799b5eb5b13b6877ea6f9720ba /testsuite/runtest
parent87249fbf5090f5118b8d651c2615f02dcec2ff6b (diff)
downloadbusybox-2969e24e2a808d98dee59982302ffb89e968af49.tar.gz
testsuite: fixes after randomconfig run
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 9a4fccbbf..51575d926 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -74,8 +74,10 @@ run_oldstyle_applet_tests()
*.mine) continue ;; # svn-produced junk
*.r[0-9]*) continue ;; # svn-produced junk
esac
- run_applet_testcase "$applet" "$testcase" || status=1
- total_failed=$((total_failed + status))
+ run_applet_testcase "$applet" "$testcase" || {
+ status=1
+ total_failed=$((total_failed + 1))
+ }
done
return $status
}