mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +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
|
||||
|
||||
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")
|
||||
is "$actual" "$expect" "$testname - .State.Healthcheck.$field"
|
||||
done
|
||||
|
Reference in New Issue
Block a user