projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0831c99
)
TEST-38-FREEZER: Relax regex a little
author
Daan De Meyer
<daan.j.demeyer@gmail.com>
Mon, 13 May 2024 11:27:14 +0000
(13:27 +0200)
committer
Daan De Meyer
<daan.j.demeyer@gmail.com>
Mon, 13 May 2024 13:19:40 +0000
(15:19 +0200)
The state might be "freezing-by-parent" as well so let's take that
into account.
Fixes #32746
test/units/testsuite-38.sh
patch
|
blob
|
history
diff --git
a/test/units/testsuite-38.sh
b/test/units/testsuite-38.sh
index e557fa1dbf960f4f3135d3c01f33cef2619832cc..1cb8915e19559d279fc9b9a8662d6d44c207f68f 100755
(executable)
--- 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