summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-09 08:41:29 +0000
committerGitHub <noreply@github.com>2021-12-09 08:41:29 +0000
commit4a52a457d1e33a4817e4ce1dca390ba942eaec44 (patch)
tree61ac59417c30731a53a2a5e8e644aba3149eb432 /test
parent02eaebda46418d6a69a54a08066080fa24f38ebe (diff)
parent2d517b687b0832a6240a165e8aacef2876b9228a (diff)
downloadpodman-4a52a457d1e33a4817e4ce1dca390ba942eaec44.tar.gz
podman-4a52a457d1e33a4817e4ce1dca390ba942eaec44.tar.bz2
podman-4a52a457d1e33a4817e4ce1dca390ba942eaec44.zip
Merge pull request #12545 from vrothberg/fix-12477
generate systemd: support entrypoint JSON strings
Diffstat (limited to 'test')
-rw-r--r--test/system/250-systemd.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/250-systemd.bats b/test/system/250-systemd.bats
index 56d36934d..c49727cc9 100644
--- a/test/system/250-systemd.bats
+++ b/test/system/250-systemd.bats
@@ -104,8 +104,9 @@ function service_cleanup() {
}
@test "podman autoupdate local" {
+ # Note that the entrypoint may be a JSON string which requires preserving the quotes (see #12477)
cname=$(random_string)
- run_podman create --name $cname --label "io.containers.autoupdate=local" $IMAGE top
+ run_podman create --name $cname --label "io.containers.autoupdate=local" --entrypoint '["top"]' $IMAGE
# Start systemd service to run this container
service_setup