summaryrefslogtreecommitdiff
path: root/test/podman_run.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/podman_run.bats')
-rw-r--r--test/podman_run.bats9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/podman_run.bats b/test/podman_run.bats
index 6ffc47ef3..7066000d0 100644
--- a/test/podman_run.bats
+++ b/test/podman_run.bats
@@ -132,3 +132,12 @@ IMAGE="docker.io/library/fedora:latest"
echo $output
[ "$status" -eq 0 ]
}
+
+@test "podman run with cidfile" {
+ run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} run --cidfile /tmp/cidfile $BB ls"
+ echo "$output"
+ [ "$status" -eq 0 ]
+ run rm /tmp/cidfile
+ echo "$output"
+ [ "$status" -eq 0 ]
+}