testprogs: Make test_smbclient_expect_failure() return 0 on success
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 11 Apr 2023 02:23:00 +0000 (14:23 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 12 Apr 2023 13:52:32 +0000 (13:52 +0000)
commitb62b0bd64bd8b49b6244949c0149348590119b35
treedeb4181e4b9e3aac0b820b8f794f1cee46f01b86
parent60c501b387d479fa9c653151dee4b2feebcb04ac
testprogs: Make test_smbclient_expect_failure() return 0 on success

This is the behaviour that most existing callers expect, but the
function actually returns a non-zero status code in that case.

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_password_settings.sh
testprogs/blackbox/test_trust_ntlm.sh