mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
regression_test.sh: adds sorting to bottom, fixes missing tbody end tag
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
This commit is contained in:
@@ -662,12 +662,12 @@ td.testname {
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>"
|
||||
tail="</body></html>"
|
||||
f="</body></html>"
|
||||
|
||||
fname="${HOMEPATH}/html-reports/regression_file-${NOW}.html"
|
||||
echo "$header" >> "$fname"
|
||||
echo "${results[@]}" >> "$fname"
|
||||
echo "</table>
|
||||
echo "</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<h3>System information</h3>
|
||||
@@ -694,7 +694,9 @@ td.testname {
|
||||
<td id='python_environment'>${PYTHON_ENVIRONMENT}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>" >> "$fname"
|
||||
</table>
|
||||
<script> sortTable('myTable2', 2); </script>
|
||||
" >> "$fname"
|
||||
echo "$tail" >> "$fname"
|
||||
if [ -f "${HOMEPATH}/html-reports/latest.html" ]; then
|
||||
rm -f "${HOMEPATH}/html-reports/latest.html"
|
||||
|
||||
Reference in New Issue
Block a user