summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/common_test_fns.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/blackbox/common_test_fns.inc')
-rwxr-xr-xtestprogs/blackbox/common_test_fns.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/testprogs/blackbox/common_test_fns.inc b/testprogs/blackbox/common_test_fns.inc
index 5984a0c91a2..4f5a861754e 100755
--- a/testprogs/blackbox/common_test_fns.inc
+++ b/testprogs/blackbox/common_test_fns.inc
@@ -33,10 +33,11 @@ test_smbclient_expect_failure()
status=$?
if [ x$status = x0 ]; then
printf '%s' "$output" | subunit_fail_test "$name"
+ return 1
else
subunit_pass_test "$name"
+ return 0
fi
- return $status
}
test_rpcclient_grep()