1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

testprogs: Return correct status code

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Joseph Sutton 2023-04-11 14:38:30 +12:00 committed by Andreas Schneider
parent 4726541a78
commit f407b3ec0d

View File

@ -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