summaryrefslogtreecommitdiff
path: root/test/podman_exec.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/podman_exec.bats')
-rw-r--r--test/podman_exec.bats7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/podman_exec.bats b/test/podman_exec.bats
index 2d6a42704..f62da59a3 100644
--- a/test/podman_exec.bats
+++ b/test/podman_exec.bats
@@ -28,3 +28,10 @@ function setup() {
echo "$output"
[ "$status" -eq 0 ]
}
+
+@test "exec simple command using latest" {
+ ${PODMAN_BINARY} ${PODMAN_OPTIONS} run -d -t ${ALPINE} sleep 60
+ run ${PODMAN_BINARY} ${PODMAN_OPTIONS} exec -l ls
+ echo "$output"
+ [ "$status" -eq 0 ]
+}