From 647b711e4e11c70a16be542be34e3c4b999664e0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 16 May 2023 17:32:28 +0200 Subject: [PATCH] tests: Fix test_symlinkerror_absolute_inshare 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 Reviewed-by: Ralph Boehme --- python/samba/tests/smb2symlink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/tests/smb2symlink.py b/python/samba/tests/smb2symlink.py index a2b34aee639..74aaf9e1658 100644 --- a/python/samba/tests/smb2symlink.py +++ b/python/samba/tests/smb2symlink.py @@ -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)