summaryrefslogtreecommitdiff
path: root/test/podman_exec.bats
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-02 19:05:23 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-05 20:17:37 +0000
commit3609b82fe6f5fe268cdbe9f8aba43140c4e81f90 (patch)
tree885ee7015b2f15ce20cdff768b3468ff4c0ad492 /test/podman_exec.bats
parent1ac11dcf8423575f4e5f5f758b8989cf3fcc389b (diff)
downloadpodman-3609b82fe6f5fe268cdbe9f8aba43140c4e81f90.tar.gz
podman-3609b82fe6f5fe268cdbe9f8aba43140c4e81f90.tar.bz2
podman-3609b82fe6f5fe268cdbe9f8aba43140c4e81f90.zip
Migrate diff, exec, export, and history to ginkgo
Migrate the diff, exec, export, and history bats tests to the ginkgo test suite. Signed-off-by: baude <bbaude@redhat.com> Closes: #287 Approved by: baude
Diffstat (limited to 'test/podman_exec.bats')
-rw-r--r--test/podman_exec.bats37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/podman_exec.bats b/test/podman_exec.bats
deleted file mode 100644
index f62da59a3..000000000
--- a/test/podman_exec.bats
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env bats
-
-load helpers
-
-function teardown() {
- cleanup_test
-}
-
-function setup() {
- copy_images
-}
-
-@test "exec into a bogus container" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} exec foobar ls
- echo "$output"
- [ "$status" -eq 125 ]
-}
-
-@test "exec without command should fail" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} exec foobar
- echo "$output"
- [ "$status" -eq 125 ]
-}
-
-@test "exec simple command" {
- ${PODMAN_BINARY} ${PODMAN_OPTIONS} run -d -t --name foobar1 ${ALPINE} sleep 60
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} exec foobar1 ls
- 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 ]
-}