regression_test: Fix LANforge ERror Messages column so we have a better understanding where the error is coming from

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-08 09:33:26 -08:00
parent 4ae239c7c5
commit 2d52f7369c

View File

@@ -545,7 +545,7 @@ function test() {
FILESIZE=$(stat -c%s "${FILENAME}_stderr.txt") || 0
# Check to see if the error is due to LANforge
ERROR_DATA=$(cat "${FILENAME}_stderr.txt")
if [[ "LANforge Error Messages" == *"${ERROR_DATA})" ]]
if [[ $ERROR_DATA =~ "LANforge Error Messages" ]]
then
LANforgeError="Lanforge Error"
else