diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-03-13 04:36:32 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-03-13 04:36:32 +0000 |
commit | d40e3747cfa2994349aa84568f7b79457341a058 (patch) | |
tree | 264309c72590b5a6064a2b8ecf438016f1afead2 /source/torture | |
parent | 80c45434092a881fe2c9ae7f90856deea4722cb0 (diff) | |
download | samba-d40e3747cfa2994349aa84568f7b79457341a058.tar.gz samba-d40e3747cfa2994349aa84568f7b79457341a058.tar.xz samba-d40e3747cfa2994349aa84568f7b79457341a058.zip |
show which files we fail to create in the casetable test
Diffstat (limited to 'source/torture')
-rw-r--r-- | source/torture/utable.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/torture/utable.c b/source/torture/utable.c index d8a1557dbb7..74d5f164c09 100644 --- a/source/torture/utable.c +++ b/source/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; |