mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +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>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>"
|
<tbody>"
|
||||||
tail="</body></html>"
|
f="</body></html>"
|
||||||
|
|
||||||
fname="${HOMEPATH}/html-reports/regression_file-${NOW}.html"
|
fname="${HOMEPATH}/html-reports/regression_file-${NOW}.html"
|
||||||
echo "$header" >> "$fname"
|
echo "$header" >> "$fname"
|
||||||
echo "${results[@]}" >> "$fname"
|
echo "${results[@]}" >> "$fname"
|
||||||
echo "</table>
|
echo "</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br />
|
<br />
|
||||||
<h3>System information</h3>
|
<h3>System information</h3>
|
||||||
@@ -694,7 +694,9 @@ td.testname {
|
|||||||
<td id='python_environment'>${PYTHON_ENVIRONMENT}</td>
|
<td id='python_environment'>${PYTHON_ENVIRONMENT}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>" >> "$fname"
|
</table>
|
||||||
|
<script> sortTable('myTable2', 2); </script>
|
||||||
|
" >> "$fname"
|
||||||
echo "$tail" >> "$fname"
|
echo "$tail" >> "$fname"
|
||||||
if [ -f "${HOMEPATH}/html-reports/latest.html" ]; then
|
if [ -f "${HOMEPATH}/html-reports/latest.html" ]; then
|
||||||
rm -f "${HOMEPATH}/html-reports/latest.html"
|
rm -f "${HOMEPATH}/html-reports/latest.html"
|
||||||
|
|||||||
Reference in New Issue
Block a user