diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2018-04-20 16:28:29 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-02-01 03:36:17 +0100 |
commit | e0c05383901b52f6a6834171c965dc386d6a9a4a (patch) | |
tree | b4d83e6ec6480fbee268910c55c9c36fa29cbcf6 /source4/selftest | |
parent | f00362fb3d02f01346504ebe8d1ad8eb0dd5bb47 (diff) | |
download | samba-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-x | source4/selftest/tests.py | 3 |
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 # |