mirror of
https://github.com/samba-team/samba.git
synced 2025-02-07 01:58:28 +03:00
r18349: don't do validation when using valgrind. It's way too slow (can be
hours for a single test)
This commit is contained in:
parent
cc89ef3e1f
commit
febaf6af4c
@ -16,6 +16,13 @@ if [ -z "$TORTURE_MAXTIME" ]; then
|
||||
TORTURE_MAXTIME=1200
|
||||
fi
|
||||
|
||||
# disable rpc validation when using valgrind - its way too slow
|
||||
if [ -z "$VALGRIND" ]; then
|
||||
VALIDATE="validate";
|
||||
else
|
||||
VALIDATE="";
|
||||
fi
|
||||
|
||||
OLD_PWD=`pwd`
|
||||
PREFIX=$ARG1
|
||||
PREFIX=`echo $PREFIX | sed s+//+/+`
|
||||
|
@ -26,7 +26,7 @@ fi
|
||||
|
||||
failed=0
|
||||
for transport in $transports; do
|
||||
for bindoptions in connect spnego spnego,sign spnego,seal validate padcheck bigendian bigendian,seal; do
|
||||
for bindoptions in connect spnego spnego,sign spnego,seal $VALIDATE padcheck bigendian bigendian,seal; do
|
||||
for ntlmoptions in \
|
||||
"--option=socket:testnonblock=True --option=torture:quick=yes"; do
|
||||
name="RPC-ECHO on $transport with $bindoptions and $ntlmoptions"
|
||||
|
@ -23,7 +23,7 @@ incdir=`dirname $0`
|
||||
. $incdir/test_functions.sh
|
||||
|
||||
failed=0
|
||||
for bindoptions in seal,validate,padcheck bigendian; do
|
||||
for bindoptions in seal,padcheck $VALIDATE bigendian; do
|
||||
for transport in ncalrpc ncacn_np ncacn_ip_tcp; do
|
||||
case $transport in
|
||||
ncalrpc) tests=$ncalrpc_tests ;;
|
||||
|
@ -26,7 +26,7 @@ incdir=`dirname $0`
|
||||
. $incdir/test_functions.sh
|
||||
|
||||
failed=0
|
||||
for bindoptions in seal,validate,padcheck bigendian; do
|
||||
for bindoptions in seal,padcheck $VALIDATE bigendian; do
|
||||
for transport in ncalrpc ncacn_np ncacn_ip_tcp; do
|
||||
case $transport in
|
||||
ncalrpc) tests=$ncalrpc_tests ;;
|
||||
@ -40,7 +40,7 @@ for bindoptions in seal,validate,padcheck bigendian; do
|
||||
done
|
||||
done
|
||||
|
||||
for bindoptions in connect validate ; do
|
||||
for bindoptions in connect $VALIDATE ; do
|
||||
for transport in ncalrpc; do
|
||||
case $transport in
|
||||
ncalrpc) tests=$slow_ncalrpc_tests ;;
|
||||
|
@ -23,7 +23,7 @@ incdir=`dirname $0`
|
||||
. $incdir/test_functions.sh
|
||||
|
||||
failed=0
|
||||
for bindoptions in seal,validate,padcheck bigendian; do
|
||||
for bindoptions in seal,padcheck $VALIDATE bigendian; do
|
||||
for transport in ncalrpc ncacn_np ncacn_ip_tcp; do
|
||||
case $transport in
|
||||
ncalrpc) tests=$ncalrpc_tests ;;
|
||||
|
@ -19,7 +19,7 @@ incdir=`dirname $0`
|
||||
|
||||
failed=0
|
||||
transport="ncacn_np"
|
||||
for bindoptions in validate seal; do
|
||||
for bindoptions in $VALIDATE seal; do
|
||||
for keyexchange in "yes" "no"; do
|
||||
for ntlm2 in "yes" "no"; do
|
||||
for lm_key in "yes" "no"; do
|
||||
|
@ -31,7 +31,7 @@ failed=0
|
||||
name="RPC-SPOOLSS on ncacn_np"
|
||||
testit "$name" bin/smbtorture $TORTURE_OPTIONS ncacn_np:"$server" $OPTIONS RPC-SPOOLSS "$*" || failed=`expr $failed + 1`
|
||||
|
||||
for bindoptions in padcheck connect sign seal ntlm,sign ntlm,seal validate bigendian; do
|
||||
for bindoptions in padcheck connect sign seal ntlm,sign ntlm,seal $VALIDATE bigendian; do
|
||||
for transport in ncacn_ip_tcp ncacn_np; do
|
||||
case $transport in
|
||||
ncacn_np) tests=$ncacn_np_tests ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user