diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-02-08 14:19:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-08 14:19:58 -0500 |
commit | 851bdc325124700448b035057055bd594981030a (patch) | |
tree | 902bea3952683afd6d4c75b210ee7386d49bccba /test/podman_port.bats | |
parent | 5529143877778ef8bcdd05179e279bb7d662b431 (diff) | |
parent | c089cb9c9270aa4b367deb8c8c03cb05f8860a33 (diff) | |
download | podman-851bdc325124700448b035057055bd594981030a.tar.gz podman-851bdc325124700448b035057055bd594981030a.tar.bz2 podman-851bdc325124700448b035057055bd594981030a.zip |
Merge pull request #314 from baude/ginkgo_last
Final ginkgo migration
Diffstat (limited to 'test/podman_port.bats')
-rw-r--r-- | test/podman_port.bats | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/test/podman_port.bats b/test/podman_port.bats deleted file mode 100644 index d13227b3c..000000000 --- a/test/podman_port.bats +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bats - -load helpers - -function teardown() { - cleanup_test -} - -function setup() { - copy_images -} - -@test "podman port all and latest" { - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} port -a -l - echo "$output" - echo "$status" - [ "$status" -ne 0 ] -} - -@test "podman port all and extra" { - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} port -a foobar - echo "$output" - echo "$status" - [ "$status" -ne 0 ] -} - -@test "podman port nginx" { - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} run -dt -P docker.io/library/nginx:latest - echo "$output" - [ "$status" -eq 0 ] - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} port -l - echo "$output" - [ "$status" -eq 0 ] - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} port -l 80 - echo "$output" - [ "$status" -eq 0 ] - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} port -l 80/tcp - echo "$output" - [ "$status" -eq 0 ] - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} port -a - echo "$output" - [ "$status" -eq 0 ] -} |