diff options
Diffstat (limited to 'testing/do-tests')
-rwxr-xr-x | testing/do-tests | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/do-tests b/testing/do-tests index f0b654a07..adc3e824f 100755 --- a/testing/do-tests +++ b/testing/do-tests @@ -599,6 +599,28 @@ do done cat >> $TESTRESULTDIR/index.html <<@EOF + <h3>tcpdump</h3> + <ul> +@EOF + + for host in $TCPDUMPHOSTS + do + eval HOSTLOGIN=root@\$ipv4_${host} + + scp $SSHCONF $HOSTLOGIN:/tmp/tcpdump.log \ + $TESTRESULTDIR/${host}.tcpdump.log > /dev/null 2>&1 + + cat >> $TESTRESULTDIR/index.html <<@EOF + <li><a href="$host.tcpdump.log">$host tcpdump.log</a></li> +@EOF + + done + + cat >> $TESTRESULTDIR/index.html <<@EOF + </ul> +@EOF + + cat >> $TESTRESULTDIR/index.html <<@EOF </td></tr> </table> </body> |