mirror of
https://github.com/containers/podman.git
synced 2026-02-18 23:14:49 -05:00
This changes the podman binary name embedded in the generated files. This is primarily needed for testing podman. This also adds a -X config for BINDIR so that we pick up the right install target. This required tweaking some tests to handle the default bindir not being /usr/bin. Signed-off-by: Alexander Larsson <alexl@redhat.com>
22 lines
913 B
Plaintext
22 lines
913 B
Plaintext
## assert-podman-final-args localhost/imagename
|
|
## assert-podman-args "--name=systemd-%N"
|
|
## assert-podman-args "--cidfile=%t/%N.cid"
|
|
## assert-podman-args "--rm"
|
|
## assert-podman-args "--replace"
|
|
## assert-podman-args "-d"
|
|
## assert-podman-args "--log-driver" "passthrough"
|
|
## assert-podman-args "--runtime" "/usr/bin/crun"
|
|
## assert-podman-args "--cgroups=split"
|
|
## assert-podman-args "--sdnotify=conmon"
|
|
## assert-key-is "Unit" "RequiresMountsFor" "%t/containers"
|
|
## assert-key-is "Service" "KillMode" "mixed"
|
|
## assert-key-is "Service" "Delegate" "yes"
|
|
## assert-key-is "Service" "Type" "notify"
|
|
## assert-key-is "Service" "NotifyAccess" "all"
|
|
## assert-key-is "Service" "SyslogIdentifier" "%N"
|
|
## assert-key-is-regex "Service" "ExecStopPost" "-.*/podman rm -f -i --cidfile=%t/%N.cid" "-rm -f %t/%N.cid"
|
|
## assert-key-is "Service" "Environment" "PODMAN_SYSTEMD_UNIT=%n"
|
|
|
|
[Container]
|
|
Image=localhost/imagename
|