testprogs: Make test_rpcclient_expect_failure_grep() return 0 on success
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 11 Apr 2023 02:26:56 +0000 (14:26 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 12 Apr 2023 13:52:32 +0000 (13:52 +0000)
commit23d2c9cb72d3aa4593edae40fc6b998c96242dd6
tree1d7bfe158048306ad8c74bdf044371d082f0b451
parentdfb088aaed5799ada4e78b8862b5f4f7f7b1de06
testprogs: Make test_rpcclient_expect_failure_grep() return 0 on success

This is more consistent with the behaviour of the other expect_failure
functions.

Adjust all callers expecting the opposite behaviour to match.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
testprogs/blackbox/common_test_fns.inc
testprogs/blackbox/test_trust_ntlm.sh