testprogs: Have testfail() return 0 on success
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 11 Apr 2023 02:31:59 +0000 (14:31 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 12 Apr 2023 13:52:32 +0000 (13:52 +0000)
commitae5fafa902bd3b8564a0e36b75a8ddc7e156f1fa
tree31b3294051e6e24d2c01297a0243db7a9e8a5d26
parent23d2c9cb72d3aa4593edae40fc6b998c96242dd6
testprogs: Have testfail() return 0 on success

This is more consistent with the other testing functions.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
nsswitch/tests/test_wbinfo.sh