From d26023e4a86045bdb86505992acd2b03a87a6875 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 6 Feb 2018 13:34:44 -0600 Subject: More ginkgo migration * attach * run_exit * save * tag * version * run_privileged -> privileged Signed-off-by: baude --- test/podman_attach.bats | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 test/podman_attach.bats (limited to 'test/podman_attach.bats') 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 ] -} -- cgit v1.2.3-54-g00ecf