diff options
-rwxr-xr-x | testing/do-tests.in | 17 | ||||
-rwxr-xr-x | testing/scripts/load-testconfig | 4 |
2 files changed, 19 insertions, 2 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in index 2c5c07278..67c2e7ad6 100755 --- a/testing/do-tests.in +++ b/testing/do-tests.in @@ -556,6 +556,9 @@ do $TESTRESULTDIR/${host}.$file > /dev/null 2>&1 done + scp $SSHCONF $HOSTLOGIN:/etc/strongswan.conf \ + $TESTRESULTDIR/${host}.strongswan.conf > /dev/null 2>&1 + scp $SSHCONF $HOSTLOGIN:/var/log/radius/radius.log \ $TESTRESULTDIR/${host}.radius.log > /dev/null 2>&1 @@ -568,12 +571,14 @@ do <ul> <li><a href="$host.clients.conf">clients.conf</a></li> <li><a href="$host.radiusd.conf">radiusd.conf</a></li> + <li><a href="$host.strongswan.conf">strongswan.conf</a></li> </ul> </td> <td valign="top"> <ul> <li><a href="$host.eap.conf">eap.conf</a></li> <li><a href="$host.radius.log">radius.log</a></li> + <li><a href="$host.daemon.log">daemon.log</a></li> </ul> </td> <td valign="top"> @@ -644,6 +649,18 @@ do ########################################################################## + # get a copy of /var/log/daemon.log + # + + for host in $RADIUSHOSTS + do + eval HOSTLOGIN=root@\$ipv4_${host} + ssh $SSHCONF $HOSTLOGIN grep imcv /var/log/daemon.log \ + >> $TESTRESULTDIR/${host}.daemon.log + done + + + ########################################################################## # stop tcpdump if necessary # diff --git a/testing/scripts/load-testconfig b/testing/scripts/load-testconfig index 0e167e8e2..43100dbe0 100755 --- a/testing/scripts/load-testconfig +++ b/testing/scripts/load-testconfig @@ -63,12 +63,12 @@ done ########################################################################## -# clear radius.log on FreeRadius servers +# clear radius.log and daemon.log on FreeRadius servers # for host in $RADIUSHOSTS do eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`" - ssh $SSHCONF $HOSTLOGIN 'rm -f /var/log/radius/radius.log; \ + ssh $SSHCONF $HOSTLOGIN 'rm -f /var/log/radius/radius.log /var/log/daemon.log; \ kill -SIGHUP `cat /var/run/syslogd.pid`' > /dev/null 2>&1 done |