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

tests: Sockets should be shown as NFS reparse points

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke
2024-07-07 20:28:59 +02:00
committed by Jeremy Allison
parent fb7a7cd73b
commit 1b9f1690c4
2 changed files with 5 additions and 0 deletions

View File

@@ -408,6 +408,10 @@ class ReparsePoints(samba.tests.libsmb.LibsmbTests):
"""Test FIFO reparse tag"""
self.do_test_nfs_reparse('fifo', stat.S_IFIFO, 'NFS_SPECFILE_FIFO')
def test_sock_reparse(self):
"""Test SOCK reparse tag"""
self.do_test_nfs_reparse('sock', stat.S_IFSOCK, 'NFS_SPECFILE_SOCK')
if __name__ == '__main__':
import unittest
unittest.main()