add collision/total indication to every collision report
authorSimo Sorce <idra@samba.org>
Wed, 24 Apr 2002 11:24:58 +0000 (11:24 +0000)
committerSimo Sorce <idra@samba.org>
Wed, 24 Apr 2002 11:24:58 +0000 (11:24 +0000)
(This used to be commit c4d6a49779e0e2bff86256b8b353e6c803e31ba9)

source3/torture/mangle_test.c

index 2d5b3610d557a7e5ed7d90e1091f7e6fb9cfbe89..ced0185c9512d24cec622ca11f5102705e333126 100644 (file)
@@ -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 {