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

(cherry picked from commit 034e85c)
  • Loading branch information
DaanDeMeyer authored and keszybz committed May 27, 2024
1 parent 29868fb commit 33a8ea6
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 33a8ea6

Please sign in to comment.