1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-18 08:23:51 +03:00

tests: Reparse point files are shown as FILE_ATTRIBUTE_REPARSE_POINT

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke
2023-01-09 18:24:23 +01:00
committed by Ralph Boehme
parent ed239d3f29
commit 70f424657f

View File

@@ -198,6 +198,10 @@ class ReparsePoints(samba.tests.libsmb.LibsmbTests):
conn.close(fd)
dirents = conn.list("", filename)
self.assertEqual(
dirents[0]["attrib"],
libsmb.FILE_ATTRIBUTE_REPARSE_POINT|
libsmb.FILE_ATTRIBUTE_ARCHIVE)
self.assertEqual(
dirents[0]["reparse_tag"],
libsmb.IO_REPARSE_TAG_SYMLINK)