regression_test: Better command line echoing

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-14 10:28:36 -08:00
parent 4bba61d9e9
commit c7ea081bd1

View File

@@ -555,23 +555,23 @@ function test() {
then
TEXTCLASS="partial_failure"
TDTEXT="Partial Failure"
echo "Partial Failure"
elif [[ $TEXT =~ "FAILED" ]]
then
TEXTCLASS="partial_failure"
TDTEXT="ERROR"
echo "ERROR"
else
TEXTCLASS="success"
TDTEXT="Success"
echo "No errors detected"
fi
if (( FILESIZE > 0))
then
echo "Errors detected"
TEXTCLASS="failure"
TDTEXT="Failure"
STDERR="<a href=\"${URL2}/${NAME}_stderr.txt\" target=\"_blank\">STDERR</a>"
else
echo "No errors detected"
fi
results+=("<tr><td>${CURR_TEST_NAME}</td>
<td class='scriptdetails'>${testcommand}</td>