mirror of
https://github.com/containers/podman.git
synced 2025-06-25 12:20:42 +08:00
Merge pull request #13158 from edsantiago/bats
Cleanup: remove obsolete/misleading bug workaround
This commit is contained in:
@ -15,9 +15,6 @@ function _check_health {
|
|||||||
run_podman inspect --format "{{json .State.Healthcheck}}" healthcheck_c
|
run_podman inspect --format "{{json .State.Healthcheck}}" healthcheck_c
|
||||||
|
|
||||||
parse_table "$tests" | while read field expect;do
|
parse_table "$tests" | while read field expect;do
|
||||||
# (kludge to deal with parse_table and empty strings)
|
|
||||||
if [ "$expect" = "''" ]; then expect=""; fi
|
|
||||||
|
|
||||||
actual=$(jq ".$field" <<<"$output")
|
actual=$(jq ".$field" <<<"$output")
|
||||||
is "$actual" "$expect" "$testname - .State.Healthcheck.$field"
|
is "$actual" "$expect" "$testname - .State.Healthcheck.$field"
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user