mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
regression_test: Fix partial failure logic. Use Regex
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -541,7 +541,7 @@ function test() {
|
||||
execution="$((end-start))"
|
||||
TEXT=$(cat "${FILENAME}".txt)
|
||||
STDERR=""
|
||||
if [[ "tests failed" == *"${TEXT}" ]]
|
||||
if [[ $TEXT =~ "tests failed" ]]
|
||||
then
|
||||
TEXTCLASS="partial_failure"
|
||||
TDTEXT="Partial Failure"
|
||||
|
||||
Reference in New Issue
Block a user