summaryrefslogtreecommitdiff
path: root/source3/torture/utable.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-03-13 04:36:32 +0000
committerAndrew Tridgell <tridge@samba.org>2003-03-13 04:36:32 +0000
commitd2a85e518536796c69c689ded50cb6551d460f97 (patch)
treee3e969261c12d9d96f0abc817a207acc878b0134 /source3/torture/utable.c
parent537e4d55651a51227fc7af4de0853165503c7b12 (diff)
downloadsamba-d2a85e518536796c69c689ded50cb6551d460f97.tar.gz
samba-d2a85e518536796c69c689ded50cb6551d460f97.tar.bz2
samba-d2a85e518536796c69c689ded50cb6551d460f97.zip
show which files we fail to create in the casetable test
(This used to be commit d40e3747cfa2994349aa84568f7b79457341a058)
Diffstat (limited to 'source3/torture/utable.c')
-rw-r--r--source3/torture/utable.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/torture/utable.c b/source3/torture/utable.c
index d8a1557dbb..74d5f164c0 100644
--- a/source3/torture/utable.c
+++ b/source3/torture/utable.c
@@ -141,7 +141,7 @@ BOOL torture_casetable(int dummy)
if (c == '.' || c == '\\') continue;
- printf("%04x\n", c);
+ printf("%04x (%c)\n", c, isprint(c)?c:'.');
fname = form_name(c);
fnum = cli_nt_create_full(cli, fname,
@@ -150,7 +150,10 @@ BOOL torture_casetable(int dummy)
FILE_SHARE_NONE,
FILE_OPEN_IF, 0);
- if (fnum == -1) continue;
+ if (fnum == -1) {
+ printf("Failed to create file with char %04x\n", c);
+ continue;
+ }
size = 0;