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:
parent
4726541a78
commit
f407b3ec0d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user