summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-28 12:03:59 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-28 12:06:23 +0100
commit5da211b658164a6a585e9e77b7017a62ba16cf51 (patch)
tree7f00a1e25a8823b250100124f1031ede2157824f
parent57a290e9421d4ff7c55188542219b67e881841da (diff)
downloadsamba-5da211b658164a6a585e9e77b7017a62ba16cf51.tar.gz
samba-5da211b658164a6a585e9e77b7017a62ba16cf51.tar.bz2
samba-5da211b658164a6a585e9e77b7017a62ba16cf51.zip
s3:selftest: fix warnings with empty *_TEST_LOG variables
metze
-rw-r--r--source3/script/tests/test_functions.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/script/tests/test_functions.sh b/source3/script/tests/test_functions.sh
index 407d46aa9e..79642e045b 100644
--- a/source3/script/tests/test_functions.sh
+++ b/source3/script/tests/test_functions.sh
@@ -197,13 +197,13 @@ testit() {
TEST_PCAP="$PREFIX/test_${shname}_${UNIQUE_PID}.pcap"
trap "rm -f $TEST_LOG $TEST_PCAP" EXIT
- if [ -z "$nmbd_log_size" ]; then
+ samba3_nmbd_test_log && if [ -z "$nmbd_log_size" ]; then
nmbd_log_size=`wc -l < $NMBD_TEST_LOG`;
fi
- if [ -z "$winbindd_log_size" ]; then
+ samba3_winbindd_test_log && if [ -z "$winbindd_log_size" ]; then
winbindd_log_size=`wc -l < $WINBINDD_TEST_LOG`;
fi
- if [ -z "$smbd_log_size" ]; then
+ samba3_smbd_test_log && if [ -z "$smbd_log_size" ]; then
smbd_log_size=`wc -l < $SMBD_TEST_LOG`;
fi