summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2018-04-20 16:28:29 +1200
committerAndrew Bartlett <abartlet@samba.org>2019-02-01 03:36:17 +0100
commite0c05383901b52f6a6834171c965dc386d6a9a4a (patch)
treeb4d83e6ec6480fbee268910c55c9c36fa29cbcf6 /source4/selftest
parentf00362fb3d02f01346504ebe8d1ad8eb0dd5bb47 (diff)
downloadsamba-e0c05383901b52f6a6834171c965dc386d6a9a4a.tar.gz
Tests for segfaults in python bindings
These tests run in a child process and are regarded as succeeding if they don't die by signal. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 7f2226852c9..8689cbba3a7 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -774,6 +774,9 @@ planoldpythontestsuite("ad_dc",
"samba.tests.net_join",
extra_args=['-U"$USERNAME%$PASSWORD"'],
py3_compatible=True)
+planoldpythontestsuite("ad_dc",
+ "samba.tests.segfault",
+ extra_args=['-U"$USERNAME%$PASSWORD"'])
# Need to test the password hashing in multiple environments to ensure that
# all the possible options are covered
#