From 034e85c5f3608b8ae48ab1ad76b8af0b2c2fd3e5 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 13 May 2024 13:27:14 +0200 Subject: TEST-38-FREEZER: Relax regex a little The state might be "freezing-by-parent" as well so let's take that into account. Fixes #32746 --- test/units/testsuite-38.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/testsuite-38.sh b/test/units/testsuite-38.sh index e557fa1dbf..1cb8915e19 100755 --- a/test/units/testsuite-38.sh +++ b/test/units/testsuite-38.sh @@ -94,7 +94,7 @@ check_freezer_state() { # Ignore the intermediate freezing & thawing states in case we check # the unit state too quickly - [[ "$state" =~ ^(freezing|thawing)$ ]] || break + [[ "$state" =~ ^(freezing|thawing) ]] || break sleep .5 done -- cgit v1.2.3