mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
@ -2161,11 +2161,11 @@ test_pam_modules: pam_modules
|
||||
##
|
||||
test: all torture timelimit
|
||||
@echo Running Test suite
|
||||
@$(LIB_PATH_VAR)=`dirname ${smbtorture4_path}`/shared PERL="$(PERL)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix}/st all "${smbtorture4_path}"
|
||||
@LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix}/st all "${smbtorture4_path}"
|
||||
|
||||
valgrindtest: all torture timelimit
|
||||
@echo Running Test suite with valgrind
|
||||
@$(LIB_PATH_VAR)=`dirname ${smbtorture4_path}`/shared \
|
||||
@LIB_PATH_VAR=$(LIB_PATH_VAR) \
|
||||
NMBD_VALGRIND="xterm -n nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
|
||||
WINBINDD_VALGRIND="xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
|
||||
SMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
$SCRIPTDIR/test_local_s3.sh || failed=`expr $failed + $?`
|
||||
$SCRIPTDIR/test_smbtorture_s3.sh //$SERVER_IP/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
|
||||
echo "Testing encrypted"
|
||||
@ -8,9 +7,8 @@ echo "Testing encrypted"
|
||||
$SCRIPTDIR/test_smbclient_s3.sh $SERVER $SERVER_IP "-e" || failed=`expr $failed + $?`
|
||||
$SCRIPTDIR/test_wbinfo_s3.sh $WORKGROUP $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
|
||||
LD_LIBRARY_PATH="$SAMBA4SHAREDDIR:$LD_LIBRARY_PATH"
|
||||
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
|
||||
export LD_LIBRARY_PATH
|
||||
eval "$LIB_PATH_VAR="\$SAMBA4SHAREDDIR:\$LIB_PATH_VAR"; export $LIB_PATH_VAR"
|
||||
echo "$LIB_PATH_VAR=$LD_LIBRARY_PATH"
|
||||
SMBTORTURE4VERSION=`$SMBTORTURE4 --version`
|
||||
if [ -n "$SMBTORTURE4" -a -n "$SMBTORTURE4VERSION" ];then
|
||||
echo "Running Tests with Samba4's smbtorture"
|
||||
@ -19,3 +17,4 @@ if [ -n "$SMBTORTURE4" -a -n "$SMBTORTURE4VERSION" ];then
|
||||
else
|
||||
echo "Skip Tests with Samba4's smbtorture"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user