From ac43520c5a9791371e03c91e4a3e929e2ed21d1a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 6 Nov 2006 23:19:00 +0000 Subject: r19590: Make it less noisy to run the session_key test outside 'make test', for example against a remote host. Andrew Bartlett (This used to be commit 1c7cb1314bb2309b9a3ee36e63401c894a60bfd1) --- source4/script/tests/test_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/script') diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh index ccf383668c..6999748c88 100755 --- a/source4/script/tests/test_functions.sh +++ b/source4/script/tests/test_functions.sh @@ -96,7 +96,7 @@ testit() { 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 -- cgit