]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
pytests: rpc echo should not segfault
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 23 Oct 2019 21:41:28 +0000 (10:41 +1300)
committerNoel Power <npower@samba.org>
Thu, 14 Nov 2019 16:12:40 +0000 (16:12 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/tests/segfault.py

index 66c0b1004c95526c94ef4a5605adca1434a98589..6593788315629d64b2abae771395a4160ae5f1d4 100644 (file)
@@ -152,3 +152,8 @@ class SegfaultTests(samba.tests.TestCase):
     @segfault_detector
     def test_messaging_deregister(self):
         messaging.deregister('s', 's', 's', False)
+
+    @segfault_detector
+    def test_rpcecho(self):
+        from dcerpc import echo
+        echo.rpcecho("")