3 # add tests to this list as they start passing, so we test
4 # that they stay passing
5 ncacn_np_tests
="RPC-SPOOLSS RPC-SRVSVC RPC-UNIXINFO RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-ECHO RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-MGMT RPC-HANDLES RPC-WINREG RPC-WKSSVC RPC-SVCCTL RPC-EPMAPPER RPC-INITSHUTDOWN RPC-EVENTLOG RPC-ATSVC RPC-SAMSYNC"
6 ncalrpc_tests
="RPC-MGMT RPC-UNIXINFO RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-ECHO RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-WINREG RPC-WKSSVC RPC-SVCCTL RPC-EPMAPPER RPC-EVENTLOG RPC-ATSVC RPC-INITSHUTDOWN"
7 ncacn_ip_tcp_tests
="RPC-UNIXINFO RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-ECHO RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-MGMT RPC-HANDLES RPC-WINREG RPC-WKSSVC RPC-SVCCTL RPC-EPMAPPER RPC-ATSVC RPC-EVENTLOG RPC-DSSYNC"
8 slow_ncacn_np_tests
="RPC-SAMLOGON RPC-SAMR RPC-SAMR-USERS RPC-SAMR-PASSWORDS RPC-COUNTCALLS"
9 slow_ncalrpc_tests
="RPC-SAMR RPC-SAMR-PASSWORDS RPC-COUNTCALLS RPC-CRACKNAMES"
10 slow_ncacn_ip_tcp_tests
="RPC-SAMR RPC-SAMR-PASSWORDS RPC-COUNTCALLS RPC-CRACKNAMES"
13 .
$incdir/test_functions.sh
15 for bindoptions
in seal
,padcheck
$VALIDATE bigendian
; do
16 for transport
in ncalrpc ncacn_np ncacn_ip_tcp
; do
18 ncalrpc
) tests
=$ncalrpc_tests ;;
19 ncacn_np
) tests
=$ncacn_np_tests ;;
20 ncacn_ip_tcp
) tests
=$ncacn_ip_tcp_tests ;;
23 name
="$t on $transport with $bindoptions"
24 plantest
"$name" dc $VALGRIND bin
/smbtorture
$TORTURE_OPTIONS $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN $t "$*"
29 for bindoptions
in connect
$VALIDATE ; do
30 for transport
in ncalrpc ncacn_np ncacn_ip_tcp
; do
32 ncalrpc
) tests
=$slow_ncalrpc_tests ;;
33 ncacn_np
) tests
=$slow_ncacn_np_tests ;;
34 ncacn_ip_tcp
) tests
=$slow_ncacn_ip_tcp_tests ;;
37 name
="$t on $transport with $bindoptions"
38 plantest
"$name" dc $VALGRIND bin
/smbtorture
$TORTURE_OPTIONS $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN $t "$*"