From 114c6646af8ca30de439e0457cf9346a26e5b0a3 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 15 Mar 2007 15:01:36 +0000 Subject: [PATCH] add daemon.log to web page --- testing/do-tests | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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
  • ipsec statusall
  • ipsec listall
  • auth.log
  • +
  • daemon.log
  • @EOF @@ -451,6 +453,21 @@ do done + ########################################################################## + # 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 #