mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
nsswitch: Run nsswitch thread test
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Nov 1 05:06:23 CET 2018 on sn-devel-144
This commit is contained in:
parent
b5ea7946f8
commit
40bd0a930b
17
source3/script/tests/test_libwbclient_threads.sh
Executable file
17
source3/script/tests/test_libwbclient_threads.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ $# -lt 2 ] ; then
|
||||
cat <<EOF
|
||||
Usage: test_libwbclient_threads.sh DOMAIN USERNAME
|
||||
EOF
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
DOMAIN="$1"
|
||||
USERNAME="$2"
|
||||
shift 2
|
||||
|
||||
incdir=`dirname $0`/../../../testprogs/blackbox
|
||||
. $incdir/subunit.sh
|
||||
|
||||
testit "libwbclient-threads" "$BINDIR/stress-nss-libwbclient" "$DOMAIN/$USERNAME"
|
@ -385,6 +385,13 @@ if with_pthreadpool and have_ldwrap:
|
||||
plantestsuite("samba3.pthreadpool_cmocka", "none",
|
||||
[os.path.join(bindir(), "pthreadpooltest_cmocka")])
|
||||
|
||||
if with_pthreadpool:
|
||||
plantestsuite("samba3.libwbclient_threads",
|
||||
"nt4_member",
|
||||
[os.path.join(samba3srcdir,
|
||||
"script/tests/test_libwbclient_threads.sh"),
|
||||
"$DOMAIN", "$DC_USERNAME"])
|
||||
|
||||
plantestsuite("samba3.async_req", "nt4_dc",
|
||||
[os.path.join(samba3srcdir, "script/tests/test_async_req.sh")])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user