mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
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:
parent
0831c99104
commit
034e85c5f3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue