From: Christof Schmitt Date: Mon, 8 Feb 2016 21:20:56 +0000 (-0700) Subject: testprogs/blackbox/subunit: Fix testok X-Git-Tag: talloc-2.1.6~244 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4164111f55a8104c8e9690dee0d824ac24d28089;p=thirdparty%2Fsamba.git 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 Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Feb 20 03:58:01 CET 2016 on sn-devel-144 --- 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 }