]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests: Fix test_symlinkerror_absolute_inshare
authorVolker Lendecke <vl@samba.org>
Tue, 16 May 2023 15:32:28 +0000 (17:32 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 22 Nov 2024 09:50:37 +0000 (09:50 +0000)
This tests converting an absolute into a relative target. Reflect that
in the flags expected from the STOPPED_ON_SYMLINK error response.

As of this patch it's still knownfail, so irrelevant. But soon this test will
succeed.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
python/samba/tests/smb2symlink.py

index a2b34aee63916c10e8e8e208d3ea2095670479b2..74aaf9e1658e20bf7dcc4e31c0b7bb9b8bd5ab33 100644 (file)
@@ -169,7 +169,7 @@ class Smb2SymlinkTests(samba.tests.libsmb.LibsmbTests):
             { 'unparsed_path_length' : 0,
               'substitute_name' : rel_dest,
               'print_name' : rel_dest,
-              'flags' : 0 })
+              'flags' : 1 })
 
         self.clean_file(smb1, symlink)