diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-07-08 12:42:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:10 -0500 |
commit | 8c518daa86518f5752b1f571f08bd34b0143d10e (patch) | |
tree | eee43b165530e28dbc9541b400df151af59f4713 /source3/torture | |
parent | c54a86b969d8c20e3388f843b6cc41519f313f75 (diff) | |
download | samba-8c518daa86518f5752b1f571f08bd34b0143d10e.tar.gz samba-8c518daa86518f5752b1f571f08bd34b0143d10e.tar.bz2 samba-8c518daa86518f5752b1f571f08bd34b0143d10e.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
(This used to be commit f17cb54a6f97b2ce0084d27ec219b4c3fe05c1fa)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/mangle_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c index f31621b23b..174c7128be 100644 --- a/source3/torture/mangle_test.c +++ b/source3/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'; } |