mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user