1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r18070: be more verbose when errors happen

metze
(This used to be commit 9d71a037b10325dd5a258f59b8434b9fa158462e)
This commit is contained in:
Stefan Metzmacher 2006-09-05 10:37:18 +00:00 committed by Gerald (Jerry) Carter
parent 3c23af97f9
commit eb536690e2

View File

@ -224,6 +224,8 @@ static BOOL torture_open_connection_share(struct cli_state **c,
username, workgroup, username, workgroup,
password, flags, Undefined, &retry); password, flags, Undefined, &retry);
if (!NT_STATUS_IS_OK(status)) { if (!NT_STATUS_IS_OK(status)) {
printf("failed to open share connection: //%s/%s port:%d - %s\n",
hostname, sharename, port_to_use, nt_errstr(status));
return False; return False;
} }
@ -3682,6 +3684,7 @@ static BOOL run_pipe_number(int dummy)
break; break;
} }
num_pipes++; num_pipes++;
printf("\r%6d", num_pipes);
} }
printf("pipe_number test - we can open %d %s pipes.\n", num_pipes, pipe_name ); printf("pipe_number test - we can open %d %s pipes.\n", num_pipes, pipe_name );