summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-13 13:27:14 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-13 15:19:40 +0200
commit034e85c5f3608b8ae48ab1ad76b8af0b2c2fd3e5 (patch)
treefc349706833bfdf3a16e7c2973d77642b5af6a61
parenthwdb: ID_INPUT_XYZ allows an empty string (diff)
downloadsystemd-034e85c5f3608b8ae48ab1ad76b8af0b2c2fd3e5.tar.xz
systemd-034e85c5f3608b8ae48ab1ad76b8af0b2c2fd3e5.zip
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
-rwxr-xr-xtest/units/testsuite-38.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/testsuite-38.sh b/test/units/testsuite-38.sh
index e557fa1dbf..1cb8915e19 100755
--- a/test/units/testsuite-38.sh
+++ b/test/units/testsuite-38.sh
@@ -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