aboutsummaryrefslogtreecommitdiffstats
path: root/testing/do-tests.in
diff options
context:
space:
mode:
Diffstat (limited to 'testing/do-tests.in')
-rwxr-xr-xtesting/do-tests.in16
1 files changed, 14 insertions, 2 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in
index c83fc1d21..56a3b7de0 100755
--- a/testing/do-tests.in
+++ b/testing/do-tests.in
@@ -469,13 +469,20 @@ do
$TESTRESULTDIR/${host}.$file > /dev/null 2>&1
done
+ if [ $SUBDIR = "sql" ]
+ then
+ scp $HOSTLOGIN:/etc/ipsec.d/ipsec.sql \
+ $TESTRESULTDIR/${host}.ipsec.sql > /dev/null 2>&1
+ else
+ touch $TESTRESULTDIR/${host}.ipsec.sql
+ fi
ssh $HOSTLOGIN ip route list table $SOURCEIP_ROUTING_TABLE \
> $TESTRESULTDIR/${host}.iproute 2>/dev/null
ssh $HOSTLOGIN $IPTABLES -v -n -L \
> $TESTRESULTDIR/${host}.iptables 2>/dev/null
cat >> $TESTRESULTDIR/index.html <<@EOF
<h3>$host</h3>
- <table border="0" cellspacing="0" width="400">
+ <table border="0" cellspacing="0" width="600">
<tr>
<td>
<ul>
@@ -491,7 +498,12 @@ do
<li><a href="$host.daemon.log">daemon.log</a></li>
<li><a href="$host.iproute">ip route list table $SOURCEIP_ROUTING_TABLE</a></li>
<li><a href="$host.iptables">$IPTABLES -L</a></li>
- </ul>
+ </ul>
+ </td>
+ <td valign="top">
+ <ul>
+ <li><a href="$host.ipsec.sql">ipsec.sql</a></li>
+ </ul>
</td>
</tr>
</table>