diff options
author | baude <bbaude@redhat.com> | 2018-02-06 13:34:44 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-02-07 14:55:20 -0600 |
commit | d26023e4a86045bdb86505992acd2b03a87a6875 (patch) | |
tree | adc81fd84bac75e419aefb621e6e540451b6fee1 /test/podman_attach.bats | |
parent | 31c56e2b9ca029b7dbab15d19ad38008e2d3776c (diff) | |
download | podman-d26023e4a86045bdb86505992acd2b03a87a6875.tar.gz podman-d26023e4a86045bdb86505992acd2b03a87a6875.tar.bz2 podman-d26023e4a86045bdb86505992acd2b03a87a6875.zip |
More ginkgo migration
* attach
* run_exit
* save
* tag
* version
* run_privileged -> privileged
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/podman_attach.bats')
-rw-r--r-- | test/podman_attach.bats | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/podman_attach.bats b/test/podman_attach.bats deleted file mode 100644 index 605a44789..000000000 --- a/test/podman_attach.bats +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bats - -load helpers - -function teardown() { - cleanup_test -} - -function setup() { - copy_images -} - -@test "attach to a bogus container" { - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} attach foobar - echo "$output" - [ "$status" -eq 125 ] -} - -@test "attach to non-running container" { - ${PODMAN_BINARY} ${PODMAN_OPTIONS} create --name foobar -d -i ${ALPINE} ls - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} attach foobar - echo "$output" - [ "$status" -eq 125 ] -} - -@test "attach to multiple containers" { - ${PODMAN_BINARY} ${PODMAN_OPTIONS} run --name foobar1 -d -i ${ALPINE} /bin/sh - ${PODMAN_BINARY} ${PODMAN_OPTIONS} run --name foobar2 -d -i ${ALPINE} /bin/sh - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} attach foobar1 foobar2 - echo "$output" - [ "$status" -eq 125 ] -} |