From fb74b3b50734838c77a314bb37ef5d7b8dec7fb3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 3 May 2024 14:49:24 +0200 Subject: [PATCH] tests: Clarify a reparse point test Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- python/samba/tests/reparsepoints.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.47.3