diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-03-15 15:01:36 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-03-15 15:01:36 +0000 |
commit | 114c6646af8ca30de439e0457cf9346a26e5b0a3 (patch) | |
tree | 2ca95a506695eca556720e7cc1b88b17e4651fc1 /testing | |
parent | 4ebaa476f1035e467ae05b2e628173e0efda2c88 (diff) | |
download | strongswan-114c6646af8ca30de439e0457cf9346a26e5b0a3.tar.bz2 strongswan-114c6646af8ca30de439e0457cf9346a26e5b0a3.tar.xz |
add daemon.log to web page
Diffstat (limited to 'testing')
-rwxr-xr-x | testing/do-tests | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/do-tests b/testing/do-tests index 354dff176..156a7e0a4 100755 --- a/testing/do-tests +++ b/testing/do-tests @@ -45,6 +45,7 @@ TESTDATE=`date +%Y%m%d-%H%M` TODAYDIR=$TESTRESULTSDIR/$TESTDATE mkdir $TODAYDIR TESTRESULTSHTML=$TODAYDIR/index.html +ALLHTML=$TODAYDIR/all.html DEFAULTTESTSDIR=$UMLTESTDIR/testing/tests testnumber="0" @@ -403,6 +404,7 @@ do <li><a href="$host.statusall">ipsec statusall</a></li> <li><a href="$host.listall">ipsec listall</a></li> <li><a href="$host.auth.log">auth.log</a></li> + <li><a href="$host.daemon.log">daemon.log</a></li> </ul> @EOF @@ -452,6 +454,21 @@ do ########################################################################## + # get a copy of /var/log/daemon.log + # + + for host in $IPSECHOSTS + do + eval HOSTLOGIN=root@\$ipv4_${host} + ssh $HOSTLOGIN grep pluto /var/log/daemon.log \ + > $TESTRESULTDIR/${host}.daemon.log + echo >> $TESTRESULTDIR/${host}.daemon.log + ssh $HOSTLOGIN grep charon /var/log/daemon.log \ + >> $TESTRESULTDIR/${host}.daemon.log + done + + + ########################################################################## # stop tcpdump if necessary # |