]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests: IO_REPARSE_TAG_NOT_HANDLED is acceptable for unlink
authorVolker Lendecke <vl@samba.org>
Thu, 1 Dec 2022 13:48:46 +0000 (14:48 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Dec 2022 15:06:32 +0000 (15:06 +0000)
This happens when a path has an unknown reparse point in the middle

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
python/samba/tests/reparsepoints.py

index 07abdb03975623048b18bf42444aa6a75d6f292b..a6dd342f03ed345e217a0ca56f20896c556c4e19 100644 (file)
@@ -41,6 +41,7 @@ class ReparsePoints(samba.tests.libsmb.LibsmbTests):
             err = e.args[0]
             ok = (err == ntstatus.NT_STATUS_OBJECT_NAME_NOT_FOUND)
             ok |= (err == ntstatus.NT_STATUS_OBJECT_PATH_NOT_FOUND)
+            ok |= (err == ntstatus.NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED)
             if not ok:
                 raise