mirror of
https://github.com/samba-team/samba.git
synced 2025-12-23 00:23:53 +03:00
tests: Clarify a reparse point test
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
6526f20e42
commit
fb74b3b507
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user