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
This commit is contained in:
Daan De Meyer 2024-05-13 13:27:14 +02:00
parent 0831c99104
commit 034e85c5f3

View file

@ -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