summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2023-04-11 14:38:30 +1200
committerAndreas Schneider <asn@cryptomilk.org>2023-04-12 13:52:32 +0000
commitf407b3ec0d86fef43e48da27b33007347e7256f9 (patch)
tree80df6a34885dae1e929dbcf7a99781a5c74b4bf3
parent4726541a789f0df884387f27c63c307709535f24 (diff)
downloadsamba-f407b3ec0d86fef43e48da27b33007347e7256f9.tar.gz
testprogs: Return correct status code
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
-rwxr-xr-xtestprogs/blackbox/subunit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/blackbox/subunit.sh b/testprogs/blackbox/subunit.sh
index b6b90fcabfe..1ef32f6c490 100755
--- a/testprogs/blackbox/subunit.sh
+++ b/testprogs/blackbox/subunit.sh
@@ -118,7 +118,7 @@ testit_grep()
else
printf 'GREP: "%s" not found in output:\n%s' "$grep" "$output" | subunit_fail_test "$name"
fi
- return $status
+ return $gstatus
}
# This returns 0 if the command gave success and the grep value was found