r1396: Give the build farm a chance to be clean before 3.0.5. We don't accept
authorVolker Lendecke <vlendec@samba.org>
Thu, 8 Jul 2004 12:42:01 +0000 (12:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:10 +0000 (10:52 -0500)
filenames ending in a dot.

Volker
(This used to be commit f17cb54a6f97b2ce0084d27ec219b4c3fe05c1fa)

source3/torture/mangle_test.c

index f31621b23b72550fb519f91df7df1b9598d730d2..174c7128be8147a9b919ab51a637a21d63150911 100644 (file)
@@ -150,6 +150,10 @@ static void gen_name(char *name)
                        s[4] = 0;
                }
        }
+
+       /* ..... and a 100% proability of a file not ending in "." */
+       if (p[strlen(p)-1] == '.')
+               p[strlen(p)-1] = '\0';
 }