summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-05 10:37:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:43:25 -0500
commiteb536690e2a594c5570354897bd05adc6ac95436 (patch)
treebe8d76a05b4497eda609084e34a7d0bc1d672049
parent3c23af97f9fc128782f0bcae42a2b01dae5aa577 (diff)
downloadsamba-eb536690e2a594c5570354897bd05adc6ac95436.tar.gz
samba-eb536690e2a594c5570354897bd05adc6ac95436.tar.bz2
samba-eb536690e2a594c5570354897bd05adc6ac95436.zip
r18070: be more verbose when errors happen
metze (This used to be commit 9d71a037b10325dd5a258f59b8434b9fa158462e)
-rw-r--r--source3/torture/torture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 2ee0ca5ed7..2b3d245d25 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -224,6 +224,8 @@ static BOOL torture_open_connection_share(struct cli_state **c,
username, workgroup,
password, flags, Undefined, &retry);
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;
}
@@ -3682,6 +3684,7 @@ static BOOL run_pipe_number(int dummy)
break;
}
num_pipes++;
+ printf("\r%6d", num_pipes);
}
printf("pipe_number test - we can open %d %s pipes.\n", num_pipes, pipe_name );