diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-08-03 10:58:45 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-08-03 10:58:45 +0000 |
commit | 90b21fde11067943e930b8af694b6e9af1fb9c08 (patch) | |
tree | 2e9f32c46f8b0399094d5708f888607a547d8635 /testing/do-tests | |
parent | d49cc7b3833da8ca6bce90fbd21bebdf47c3a670 (diff) | |
download | strongswan-90b21fde11067943e930b8af694b6e9af1fb9c08.tar.bz2 strongswan-90b21fde11067943e930b8af694b6e9af1fb9c08.tar.xz |
use cgecho for green output
Diffstat (limited to 'testing/do-tests')
-rwxr-xr-x | testing/do-tests | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/do-tests b/testing/do-tests index 72379bda0..c48d64f54 100755 --- a/testing/do-tests +++ b/testing/do-tests @@ -48,6 +48,8 @@ TESTRESULTSHTML=$TODAYDIR/all.html INDEX=$TODAYDIR/index.html DEFAULTTESTSDIR=$UMLTESTDIR/testing/tests +SOURCEIP_ROUTING_TABLE=100 + testnumber="0" failed_cnt="0" passed_cnt="0" @@ -460,7 +462,7 @@ do $TESTRESULTDIR/${host}.$file > /dev/null 2>&1 done - ssh $HOSTLOGIN ip route list \ + 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 @@ -480,7 +482,7 @@ do <ul> <li><a href="$host.auth.log">auth.log</a></li> <li><a href="$host.daemon.log">daemon.log</a></li> - <li><a href="$host.iproute">ip route list</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> </td> @@ -655,7 +657,7 @@ cecho-n "Copying test results to winnetou.." ssh root@${ipv4_winnetou} mkdir -p $HTDOCS/testresults > /dev/null 2>&1 scp -r $TODAYDIR root@${ipv4_winnetou}:$HTDOCS/testresults > /dev/null 2>&1 ssh root@${ipv4_winnetou} ln -s $HTDOCS/images $HTDOCS/testresults/$TESTDATE/images > /dev/null 2>&1 -cecho "done" +cgecho "done" cecho "" cecho "The results are available in $TODAYDIR" cecho "or via the link http://$ipv4_winnetou/testresults/$TESTDATE" |