summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2002-04-24 11:24:58 +0000
committerSimo Sorce <idra@samba.org>2002-04-24 11:24:58 +0000
commitee8dad7b3de45fe0525a2b3a0d734469cd508084 (patch)
tree0a3e84f19cf12c635b816ccda51267cb174d9643
parenta87a63a958a8ab820562cb0671be2130576d9c9a (diff)
downloadsamba-ee8dad7b3de45fe0525a2b3a0d734469cd508084.tar.gz
samba-ee8dad7b3de45fe0525a2b3a0d734469cd508084.tar.bz2
samba-ee8dad7b3de45fe0525a2b3a0d734469cd508084.zip
add collision/total indication to every collision report
(This used to be commit c4d6a49779e0e2bff86256b8b353e6c803e31ba9)
-rw-r--r--source3/torture/mangle_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c
index 2d5b3610d5..ced0185c95 100644
--- a/source3/torture/mangle_test.c
+++ b/source3/torture/mangle_test.c
@@ -88,8 +88,9 @@ static BOOL test_one(struct cli_state *cli, const char *name)
if (strcasecmp(name, data.dptr) != 0) {
/* we have a collision */
collisions++;
- printf("Collision between %s and %s -> %s\n",
- name, data.dptr, shortname);
+ printf("Collision between %s and %s -> %s "
+ " (coll/tot: %u/%u)\n",
+ name, data.dptr, shortname, collisions, total);
}
free(data.dptr);
} else {