regression_test: Fix html table formatting

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-07 12:54:44 -08:00
parent 4f6ee25c81
commit 20ba391fd4

View File

@@ -654,7 +654,7 @@ td.testname {
</table> </table>
<br /> <br />
<h3>System information</h3> <h3>System information</h3>
<table id=\"SystemInformation\"> <table id=\"SystemInformation\" border ='1'>
<thead> <thead>
<tr> <tr>
<th>Python version</th> <th>Python version</th>
@@ -662,6 +662,8 @@ td.testname {
<th>LANforge build date</th> <th>LANforge build date</th>
<th>OS Version</th> <th>OS Version</th>
</tr> </tr>
</thead>
<tbody>
<tr> <tr>
<td id='PythonVersion'>${PYTHON_VERSION}</td> <td id='PythonVersion'>${PYTHON_VERSION}</td>
<td id='LANforgeVersion'>${BuildVersion}</td> <td id='LANforgeVersion'>${BuildVersion}</td>
@@ -669,6 +671,7 @@ td.testname {
<td id='OS_Version'>${OS_Version}</td> <td id='OS_Version'>${OS_Version}</td>
<td id='Hostname'>${HOSTNAME}</td> <td id='Hostname'>${HOSTNAME}</td>
</tr> </tr>
</tbody>
</table>" >> "$fname" </table>" >> "$fname"
echo "$tail" >> "$fname" echo "$tail" >> "$fname"
if [ -f "${HOMEPATH}/html-reports/latest.html" ]; then if [ -f "${HOMEPATH}/html-reports/latest.html" ]; then