diff options
Diffstat (limited to 'testprogs/blackbox/common_test_fns.inc')
-rwxr-xr-x | testprogs/blackbox/common_test_fns.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/blackbox/common_test_fns.inc b/testprogs/blackbox/common_test_fns.inc index ca7ed25b4a2..df8fee0e032 100755 --- a/testprogs/blackbox/common_test_fns.inc +++ b/testprogs/blackbox/common_test_fns.inc @@ -82,7 +82,7 @@ test_rpcclient_expect_failure_grep() status=$? if [ x$status = x0 ]; then printf '%s' "$output" | subunit_fail_test "$name" - return $status + return 1 fi printf '%s' "$output" | grep -q "$grep" gstatus=$? @@ -91,7 +91,7 @@ test_rpcclient_expect_failure_grep() else printf '%s' "$output" | subunit_fail_test "$name" fi - return $status + return $gstatus } kerberos_kinit() |