1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s4-torture: Use torture_fail() in the unix.unix_info2 test

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Aug 20 15:36:48 CEST 2012 on sn-devel-104
This commit is contained in:
Andrew Bartlett 2012-08-20 21:29:26 +10:00
parent 74a4c40d4f
commit 84d6e09b95

View File

@ -65,8 +65,9 @@ static struct smbcli_state *connect_to_server(struct torture_context *tctx)
lpcfg_gensec_settings(tctx, tctx->lp_ctx));
if (!NT_STATUS_IS_OK(status)) {
printf("failed to connect to //%s/%s: %s\n",
host, share, nt_errstr(status));
torture_comment(tctx, "failed to connect to //%s/%s: %s\n",
host, share, nt_errstr(status));
torture_fail(tctx, "Failed to connect to server");
return NULL;
}