diff options
author | Andreas Schneider <asn@samba.org> | 2017-04-05 15:59:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2017-04-07 14:19:23 +0200 |
commit | 0641653c302e7542b2627e840fc9ad03ab1a9a37 (patch) | |
tree | 1e61238bb2a67daae520fd5e7a82f82877ad27c4 /selftest/tests.py | |
parent | a46566ea5e35103bc5c349fe9a1d4af484020cf7 (diff) | |
download | samba-0641653c302e7542b2627e840fc9ad03ab1a9a37.tar.gz |
python: Add a simple pam_winbind test
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Apr 7 14:19:23 CEST 2017 on sn-devel-144
Diffstat (limited to 'selftest/tests.py')
-rw-r--r-- | selftest/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/tests.py b/selftest/tests.py index b32b6de9b5c..d962a66f4e6 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -39,6 +39,7 @@ finally: have_man_pages_support = ("XSLTPROC_MANPAGES" in config_hash) with_cmocka = ("HAVE_CMOCKA" in config_hash) +pam_wrapper_so_path=config_hash["LIBPAM_WRAPPER_SO_PATH"] planpythontestsuite("none", "samba.tests.source") if have_man_pages_support: @@ -136,6 +137,9 @@ plantestsuite( configuration]) planpythontestsuite("none", "samba.tests.glue", py3_compatible=True) +plantestsuite("samba.tests.pam_winbind", "ad_member", + [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"), valgrindify(python), pam_wrapper_so_path]) + if with_cmocka: plantestsuite("samba.unittests.krb5samba", "none", [os.path.join(bindir(), "default/testsuite/unittests/test_krb5samba")]) |