From 8e67d6a353d19ad8698c2584d6c4b2bda5d6e7b9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 6 Nov 2006 23:19:00 +0000 Subject: [PATCH] r19590: Make it less noisy to run the session_key test outside 'make test', for example against a remote host. Andrew Bartlett --- source/script/tests/test_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/script/tests/test_functions.sh b/source/script/tests/test_functions.sh index ccf383668c0..6999748c88c 100755 --- a/source/script/tests/test_functions.sh +++ b/source/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 -- 2.11.4.GIT