summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-11-06 23:19:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:24:58 -0500
commitac43520c5a9791371e03c91e4a3e929e2ed21d1a (patch)
treef7202a674183f81ab75c9c716f23f63a452a2bf2
parentd1fd7fb79a11cdcabf7d516fed288591c225a8e7 (diff)
downloadsamba-ac43520c5a9791371e03c91e4a3e929e2ed21d1a.tar.gz
samba-ac43520c5a9791371e03c91e4a3e929e2ed21d1a.tar.bz2
samba-ac43520c5a9791371e03c91e4a3e929e2ed21d1a.zip
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)
-rwxr-xr-xsource4/script/tests/test_functions.sh2
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