From 2d52f7369c4e2ae7e2c0bc6defdf9335a4d7be3f Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Wed, 8 Dec 2021 09:33:26 -0800 Subject: [PATCH] regression_test: Fix LANforge ERror Messages column so we have a better understanding where the error is coming from Signed-off-by: Matthew Stidham --- py-scripts/regression_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-scripts/regression_test.sh b/py-scripts/regression_test.sh index f1ae1a04..c00ad9ec 100755 --- a/py-scripts/regression_test.sh +++ b/py-scripts/regression_test.sh @@ -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