s3:tests: Set/return $failed in test_smbclient_auth.sh
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 18 Feb 2019 02:28:49 +0000 (15:28 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 Feb 2019 23:37:14 +0000 (00:37 +0100)
commitec51bfca4e77e57d81c0a7ed8e1fecb83d8aecfc
tree8ada77bda5d5990cf63396feb6bfadc611479d75
parent03357bc825605ba88ef5a39b1fa318c834cbbb1b
s3:tests: Set/return $failed in test_smbclient_auth.sh

Update the test so the shell script returns pass/fail as the exit code.

Note that subunit is just looking for 'failure:' in the test output for
whether the test passed or failed, so setting $failed isn't strictly
required.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/script/tests/test_smbclient_auth.sh