summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/subunit.sh
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2016-02-08 14:20:56 -0700
committerJeremy Allison <jra@samba.org>2016-02-20 03:58:01 +0100
commit4164111f55a8104c8e9690dee0d824ac24d28089 (patch)
tree0da76cbf5f5a4a9903aa0662bf773724aa05c0e1 /testprogs/blackbox/subunit.sh
parent66f5d0902da209276124fb7c504a3e0d926d989b (diff)
downloadsamba-4164111f55a8104c8e9690dee0d824ac24d28089.tar.gz
testprogs/blackbox/subunit: Fix testok
The fail count is always in the second parameter. Omit the shift operations, so that the value can be read correctly from $2. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Feb 20 03:58:01 CET 2016 on sn-devel-144
Diffstat (limited to 'testprogs/blackbox/subunit.sh')
-rwxr-xr-xtestprogs/blackbox/subunit.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/testprogs/blackbox/subunit.sh b/testprogs/blackbox/subunit.sh
index 3ed08826ee5..db7fb056b74 100755
--- a/testprogs/blackbox/subunit.sh
+++ b/testprogs/blackbox/subunit.sh
@@ -96,9 +96,7 @@ testit_expect_failure () {
testok () {
name=`basename $1`
- shift
failed=$2
- shift
exit $failed
}