From: Volker Lendecke Date: Fri, 3 May 2024 12:49:24 +0000 (+0200) Subject: tests: Clarify a reparse point test X-Git-Tag: tdb-1.4.11~868 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb74b3b50734838c77a314bb37ef5d7b8dec7fb3;p=thirdparty%2Fsamba.git tests: Clarify a reparse point test Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/python/samba/tests/reparsepoints.py b/python/samba/tests/reparsepoints.py index cf92c1fb945..8644e31c359 100644 --- a/python/samba/tests/reparsepoints.py +++ b/python/samba/tests/reparsepoints.py @@ -105,6 +105,7 @@ class ReparsePoints(samba.tests.libsmb.LibsmbTests): self.assertEqual(e.exception.args[0], ntstatus.NT_STATUS_IO_REPARSE_DATA_INVALID) + # Exact length works conn.fsctl(fd, libsmb.FSCTL_SET_REPARSE_POINT, b, 0) b = reparse_symlink.put(0x80000026, 0, b'asdfasdfasdfasdfasdfasdf') conn.fsctl(fd, libsmb.FSCTL_SET_REPARSE_POINT, b, 0)