Skip to content

Commit

Permalink
TEST-38-FREEZER: Relax regex a little
Browse files Browse the repository at this point in the history
The state might be "freezing-by-parent" as well so let's take that
into account.

Fixes systemd#32746
  • Loading branch information
DaanDeMeyer committed May 13, 2024
1 parent 82c2214 commit 65f6d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/units/testsuite-38.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 65f6d60

Please sign in to comment.