diff --git a/testing/do-tests b/testing/do-tests
index 354dff1768..156a7e0a44 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
#