From 0cebd158b6d8da1828b1255982e27fe9224310d0 Mon Sep 17 00:00:00 2001 From: Aditya R Date: Fri, 8 Apr 2022 17:49:08 +0530 Subject: container,inspect: convert Entrypoint to array instead of a string Convert container entrypoint from string to an array inorder to make sure there is parity between `podman inspect` and `docker inspect` Signed-off-by: Aditya R --- test/system/200-pod.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/system/200-pod.bats') diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats index f5fe41924..e6f4ecdbc 100644 --- a/test/system/200-pod.bats +++ b/test/system/200-pod.bats @@ -234,7 +234,7 @@ EOF local infra_cid="$output" # confirm that entrypoint is what we set run_podman container inspect --format '{{.Config.Entrypoint}}' $infra_cid - is "$output" "$infra_command" "infra-command took effect" + is "$output" "[$infra_command]" "infra-command took effect" # confirm that infra container name is set run_podman container inspect --format '{{.Name}}' $infra_cid is "$output" "$infra_name" "infra-name took effect" -- cgit v1.2.3-54-g00ecf