aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-11-05 15:10:26 +0100
committerTobias Brunner <tobias@strongswan.org>2015-11-09 15:18:36 +0100
commite22a6631293715062be6711fdb7987302d660a3b (patch)
tree0610d833050484609842d480ec60e5583b7c424c /testing
parent12f08e07e1d033d08d5094166475e47555b506ca (diff)
downloadstrongswan-e22a6631293715062be6711fdb7987302d660a3b.tar.bz2
strongswan-e22a6631293715062be6711fdb7987302d660a3b.tar.xz
testing: Don't log anything to the console if auth.log or daemon.log do not exist
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/do-tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/do-tests b/testing/do-tests
index 46c59f778..01a4f2382 100755
--- a/testing/do-tests
+++ b/testing/do-tests
@@ -740,7 +740,7 @@ do
for host in $IPSECHOSTS
do
eval HOSTLOGIN=root@\$ipv4_${host}
- ssh $SSHCONF $HOSTLOGIN "grep -E 'charon|last message repeated|imcv|pt-tls-client' \
+ ssh $SSHCONF $HOSTLOGIN "grep -s -E 'charon|last message repeated|imcv|pt-tls-client' \
/var/log/auth.log" >> $TESTRESULTDIR/${host}.auth.log
done
@@ -752,7 +752,7 @@ do
for host in $IPSECHOSTS
do
eval HOSTLOGIN=root@\$ipv4_${host}
- ssh $SSHCONF $HOSTLOGIN "grep -E 'charon|last message repeated|imcv' \
+ ssh $SSHCONF $HOSTLOGIN "grep -s -E 'charon|last message repeated|imcv' \
/var/log/daemon.log" >> $TESTRESULTDIR/${host}.daemon.log
done