diff options
author | Jeremy Allison <jra@samba.org> | 2020-04-21 11:49:44 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2020-04-22 08:15:35 +0000 |
commit | 9cea0cc5b5f37e8ec612ce3a33705ffb4670a070 (patch) | |
tree | 60eb826abe915c6d02ed7efc830fb166dadcfd17 /selftest | |
parent | b7fb6100b4c5697078caef2679dd3219c9f93b2a (diff) | |
download | samba-9cea0cc5b5f37e8ec612ce3a33705ffb4670a070.tar.gz |
s3: torture: Add the tests from resolve_realpath_name() to canonicalize_absolute_path().
canonicalize_absolute_path() has a bug.
In canonicalize_absolute_path()
///a/./././///component/../////path/ -> /a//path
It should go to /a/path. Mark as knownfail.
Adding these tests so I can ultimately remove
resolve_realpath_name() and re-use the existing
canonicalize_absolute_path() code in vfs_widelinks.c
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail.d/local_canonicalize_path | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/knownfail.d/local_canonicalize_path b/selftest/knownfail.d/local_canonicalize_path new file mode 100644 index 00000000000..477c60a68eb --- /dev/null +++ b/selftest/knownfail.d/local_canonicalize_path @@ -0,0 +1,2 @@ +samba3.smbtorture_s3.LOCAL-CANONICALIZE-PATH + |