aboutsummaryrefslogtreecommitdiffstats
path: root/testing/do-tests.in
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-04-06 12:05:42 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-04-06 12:05:42 +0000
commitbabaaa3c1108e4342977f2e5ba1ac94839dcc9af (patch)
treed79d0bb0f1ded88499c4e069b91e0b2dc63452be /testing/do-tests.in
parenta9184df36b641aa73959125548144d6deb067b29 (diff)
downloadstrongswan-babaaa3c1108e4342977f2e5ba1ac94839dcc9af.tar.bz2
strongswan-babaaa3c1108e4342977f2e5ba1ac94839dcc9af.tar.xz
support of SQL databases in UML scenarios
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>