summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2019-10-24 10:41:28 +1300
committerNoel Power <npower@samba.org>2019-11-14 16:12:40 +0000
commit4dd725b1b599968fb787c93f6eb3a42af007b21c (patch)
treed90c26caecdcee517b164cc90cde04f849b5988b
parent220cf67776f16467488805ecd6d1905c708eaa17 (diff)
downloadsamba-4dd725b1b599968fb787c93f6eb3a42af007b21c.tar.gz
pytests: rpc echo should not segfault
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
-rw-r--r--python/samba/tests/segfault.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/samba/tests/segfault.py b/python/samba/tests/segfault.py
index 66c0b1004c9..65937883156 100644
--- a/python/samba/tests/segfault.py
+++ b/python/samba/tests/segfault.py
@@ -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("")