]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests: Sockets should be shown as NFS reparse points
authorVolker Lendecke <vl@samba.org>
Sun, 7 Jul 2024 18:28:59 +0000 (20:28 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 12 Jul 2024 20:35:34 +0000 (20:35 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/tests/reparsepoints.py
selftest/knownfail.d/reparse

index 3a8702d7b299f142eb6f972f622e2481abc4ea77..a8d506d48d61d3079e4458d876071242187a7523 100644 (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()
index 11d094aa5c698580b2c4be996fbc38800cd8ef66..1b07b904c56a61773e750728c4981f0e4ce94d99 100644 (file)
@@ -1,2 +1,3 @@
 ^samba.tests.reparsepoints.samba.tests.reparsepoints.ReparsePoints.test_create_reparse_directory
 ^samba.tests.reparsepoints.samba.tests.reparsepoints.ReparsePoints.test_create_reparse_nonempty_directory
+^samba.tests.reparsepoints.samba.tests.reparsepoints.ReparsePoints.test_sock_reparse