Remove the knownfail.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
+++ /dev/null
-samba3.smbtorture_s3.LOCAL-CANONICALIZE-PATH
-
s++;
}
if ((d > destname + 1) && (*s != '\0')) {
- *d++ = '/';
+ if (!start_of_name_component) {
+ /*
+ * Only write a / if we
+ * haven't just written one.
+ */
+ *d++ = '/';
+ }
}
start_of_name_component = true;
continue;
continue;
}
+ /*
+ * Step forward one to leave the
+ * last written '/' alone.
+ */
+ d++;
+
/*
* We're still at the start of a name
* component, just the previous one.