diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-07-08 12:42:01 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-07-08 12:42:01 +0000 |
commit | 3769a978347b062fb0a38a7e08733a75d642799c (patch) | |
tree | e1a85b3f5553c5e53036b7016fb6a808c1a8a8c1 /source/torture | |
parent | becf0bb79d6cafb17dd9eea99aee676bf8e7af5d (diff) | |
download | samba-3769a978347b062fb0a38a7e08733a75d642799c.tar.gz samba-3769a978347b062fb0a38a7e08733a75d642799c.tar.xz samba-3769a978347b062fb0a38a7e08733a75d642799c.zip |
r1396: Give the build farm a chance to be clean before 3.0.5. We don't accept
filenames ending in a dot.
Volker
Diffstat (limited to 'source/torture')
-rw-r--r-- | source/torture/mangle_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/torture/mangle_test.c b/source/torture/mangle_test.c index f31621b23b7..174c7128be8 100644 --- a/source/torture/mangle_test.c +++ b/source/torture/mangle_test.c @@ -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'; } |