summaryrefslogtreecommitdiffstats
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
commit9d71a037b10325dd5a258f59b8434b9fa158462e (patch)
treef8f98453aec6fb6185073617bf8457c30b5f712b
parentd5c55e731adbd5f05fdea8550b64186b2ca7c2b8 (diff)
downloadsamba-9d71a037b10325dd5a258f59b8434b9fa158462e.tar.gz
samba-9d71a037b10325dd5a258f59b8434b9fa158462e.tar.xz
samba-9d71a037b10325dd5a258f59b8434b9fa158462e.zip
r18070: be more verbose when errors happen
metze
-rw-r--r--source/torture/torture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/torture/torture.c b/source/torture/torture.c
index 2ee0ca5ed74..2b3d245d252 100644
--- a/source/torture/torture.c
+++ b/source/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 );