diff options
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-rwxr-xr-x | source4/script/tests/test_functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |