support of SQL databases in UML scenarios

This commit is contained in:
Andreas Steffen
2008-04-06 12:05:42 +00:00
parent a9184df36b
commit babaaa3c11
4 changed files with 26 additions and 9 deletions
+14 -2
View File
@@ -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>