summaryrefslogtreecommitdiff
path: root/python/samba
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2023-01-09 18:24:23 +0100
committerRalph Boehme <slow@samba.org>2024-11-22 09:50:37 +0000
commit70f424657f0b846ed51ae55287e3a715e086534d (patch)
treeb18ffe51018a361500a520d57537c9192f3317be /python/samba
parented239d3f297b6ea4dc64ed9818ebc6ca2720753e (diff)
downloadsamba-70f424657f0b846ed51ae55287e3a715e086534d.tar.gz
samba-70f424657f0b846ed51ae55287e3a715e086534d.tar.bz2
samba-70f424657f0b846ed51ae55287e3a715e086534d.zip
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>
Diffstat (limited to 'python/samba')
-rw-r--r--python/samba/tests/reparsepoints.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/samba/tests/reparsepoints.py b/python/samba/tests/reparsepoints.py
index a8d506d48d6..1aa859c9525 100644
--- a/python/samba/tests/reparsepoints.py
+++ b/python/samba/tests/reparsepoints.py
@@ -199,6 +199,10 @@ class ReparsePoints(samba.tests.libsmb.LibsmbTests):
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)