aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2012-07-10 00:23:14 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2012-07-11 17:09:05 +0200
commit6067233193a17458a1ab6eecfc65f1ddec7adb52 (patch)
tree337a6f43094af386c0c918381901db9affd16f97 /testing
parent6245edf37e1a90e1f62ece62b59c539f0e816482 (diff)
downloadstrongswan-6067233193a17458a1ab6eecfc65f1ddec7adb52.tar.bz2
strongswan-6067233193a17458a1ab6eecfc65f1ddec7adb52.tar.xz
remove pluto logging
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/do-tests.in14
1 files changed, 4 insertions, 10 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in
index 29728d234..82e027078 100755
--- a/testing/do-tests.in
+++ b/testing/do-tests.in
@@ -631,11 +631,8 @@ do
for host in $IPSECHOSTS
do
eval HOSTLOGIN=root@\$ipv4_${host}
- ssh $SSHCONF $HOSTLOGIN grep pluto /var/log/auth.log \
- > $TESTRESULTDIR/${host}.auth.log
- echo >> $TESTRESULTDIR/${host}.auth.log
- ssh $SSHCONF $HOSTLOGIN grep charon /var/log/auth.log \
- >> $TESTRESULTDIR/${host}.auth.log
+ ssh $SSHCONF $HOSTLOGIN "grep -E 'charon|last message repeated' \
+ /var/log/auth.log" >> $TESTRESULTDIR/${host}.auth.log
done
@@ -646,11 +643,8 @@ do
for host in $IPSECHOSTS
do
eval HOSTLOGIN=root@\$ipv4_${host}
- ssh $SSHCONF $HOSTLOGIN grep pluto /var/log/daemon.log \
- > $TESTRESULTDIR/${host}.daemon.log
- echo >> $TESTRESULTDIR/${host}.daemon.log
- ssh $SSHCONF $HOSTLOGIN grep charon /var/log/daemon.log \
- >> $TESTRESULTDIR/${host}.daemon.log
+ ssh $SSHCONF $HOSTLOGIN "grep -E 'charon|last message repeated' \
+ /var/log/daemon.log" >> $TESTRESULTDIR/${host}.daemon.log
done