diff options
| author | Noel Power <noel.power@suse.com> | 2022-06-16 17:17:45 +0100 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2022-06-17 17:12:07 +0000 |
| commit | 81fdcf95ae92a02f83501753dec0f29ddd555eeb (patch) | |
| tree | 4276f3b8f9fbb25cdd2e81f701ece29c3df6852a /python | |
| parent | 23a5a05db03a8f14ab701005a8bec9a3eeff3d77 (diff) | |
| download | samba-81fdcf95ae92a02f83501753dec0f29ddd555eeb.tar.gz samba-81fdcf95ae92a02f83501753dec0f29ddd555eeb.tar.bz2 samba-81fdcf95ae92a02f83501753dec0f29ddd555eeb.zip | |
s3/client: fix dfs deltree, resolve dfs path
since 4cc4938a2866738aaff4dc91550bb7a5ad05d7fb do_list seems
to deal with non dfs root path, hence we need to resolve the
path before calling cli_unlink.
Also remove the knownfail
We additionally have to also remove the fallback to remove 'file3'
int the smbcacls_dfs_propagate_inherit.teardown as the deltree
that happens in the baseclass now succeeds.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15100
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun 17 17:12:07 UTC 2022 on sn-devel-184
Diffstat (limited to 'python')
| -rw-r--r-- | python/samba/tests/blackbox/smbcacls_dfs_propagate_inherit.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/python/samba/tests/blackbox/smbcacls_dfs_propagate_inherit.py b/python/samba/tests/blackbox/smbcacls_dfs_propagate_inherit.py index 36c29c8ccca..42680df0d06 100644 --- a/python/samba/tests/blackbox/smbcacls_dfs_propagate_inherit.py +++ b/python/samba/tests/blackbox/smbcacls_dfs_propagate_inherit.py @@ -85,11 +85,3 @@ class DfsInheritanceSmbCaclsTests(InheritanceSmbCaclsTests): def tearDown(self): super(DfsInheritanceSmbCaclsTests, self).tearDown() - # for dfs tests inevitably we fallback to remove the local files in - # the base class, the base class however doesn't know about the - # target dfs share (or its contents) so we have to assume we need to - # remove the file on the dfs share - smbclient_args = self.build_test_cmd("smbclient", ["//%s/%s" % (self.server, self.dfs_target_share), "-c", "rm file-3"]) - self.check_output(smbclient_args) - - |
