From dfb088aaed5799ada4e78b8862b5f4f7f7b1de06 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 11 Apr 2023 14:24:55 +1200 Subject: [PATCH] testprogs: Return correct status code Signed-off-by: Joseph Sutton Reviewed-by: Andreas Schneider --- testprogs/blackbox/common_test_fns.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testprogs/blackbox/common_test_fns.inc b/testprogs/blackbox/common_test_fns.inc index 4f5a861754e..ca7ed25b4a2 100755 --- a/testprogs/blackbox/common_test_fns.inc +++ b/testprogs/blackbox/common_test_fns.inc @@ -64,7 +64,7 @@ test_rpcclient_grep() else printf '%s' "$output" | subunit_fail_test "$name" fi - return $status + return $gstatus } test_rpcclient_expect_failure_grep()