mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-26 07:47:38 +00:00
Merge pull request #19388 from edsantiago/quadlet_specifier_race
System tests: quadlet: fix race in %T test
This commit is contained in:
commit
60a30d31e4
1 changed files with 2 additions and 1 deletions
|
|
@ -794,10 +794,11 @@ Description=Get the value of percent T
|
|||
ExecStart=/bin/bash -c "echo --==%T==--"
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
systemctl start $service
|
||||
systemctl --wait start $service
|
||||
echo "$_LOG_PROMPT journalctl -u $service"
|
||||
run journalctl -u $service
|
||||
echo "$output"
|
||||
assert "$output" =~ " --==.*==--" "get-percent-T unit ran to completion"
|
||||
percent_t=$(expr "$output" : ".* --==\(.*\)==--")
|
||||
# Clean up. Don't bother to systemctl-reload, service_setup does that below.
|
||||
rm -f $unitfile
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue