s4/torture: add a *real* root_dir_fid test
authorRalph Boehme <slow@samba.org>
Thu, 14 May 2020 12:22:16 +0000 (14:22 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 14 May 2020 18:07:39 +0000 (18:07 +0000)
commitf0df11ce9dd9bbbc8cee9122e06e2b3c1954b7e7
treeecc5acebef70c4d994b7c2e2229178589868eb65
parentab70153c200c7ace5e01db54360eb84a53a47e80
s4/torture: add a *real* root_dir_fid test

raw.samba3rootdirfid tests with the share root directory as root_dir_fid handle,
that doesn't cover the case where the relative name has more then one path
component. It only works because in unix_convert() we run into the creating file
optimasation.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14380

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/samba3.raw.samba3rootdirfid2 [new file with mode: 0644]
source3/selftest/tests.py
source4/torture/raw/raw.c
source4/torture/raw/samba3misc.c