svn commit: samba r19590 - in branches/SAMBA_4_0/source/script/tests: .

abartlet at samba.org abartlet at samba.org
Mon Nov 6 23:19:01 GMT 2006


Author: abartlet
Date: 2006-11-06 23:19:00 +0000 (Mon, 06 Nov 2006)
New Revision: 19590

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19590

Log:
Make it less noisy to run the session_key test outside 'make test',
for example against a remote host.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/script/tests/test_functions.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_functions.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_functions.sh	2006-11-06 23:17:48 UTC (rev 19589)
+++ branches/SAMBA_4_0/source/script/tests/test_functions.sh	2006-11-06 23:19:00 UTC (rev 19590)
@@ -96,7 +96,7 @@
 	TEST_PCAP="$PREFIX/test_${shname}_${UNIQUE_PID}.pcap"
 	trap "rm -f $TEST_LOG $TEST_PCAP" EXIT
 
-        if [ -z "$smbd_log_size" ]; then
+        if [ -n "$SMBD_TEST_LOG" -a -z "$smbd_log_size" ]; then
 	    smbd_log_size=`wc -l < $SMBD_TEST_LOG`;
 	fi
 



More information about the samba-cvs mailing list