From 6ba6ecf59b9204d36388de07b866f157a4d13957 Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 2 Feb 2018 11:02:09 -0600 Subject: Migrate Create|Commit to ginkgo Migrate create and commit bats tests to the ginkgo test suite. In doing so, some structures had to be moved to pkg/podmanstructs/podmanstructs.go so we could do better verification of test results. Signed-off-by: baude Closes: #286 Approved by: rhatdan --- test/podman_create.bats | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 test/podman_create.bats (limited to 'test/podman_create.bats') diff --git a/test/podman_create.bats b/test/podman_create.bats deleted file mode 100644 index d7a9cd72e..000000000 --- a/test/podman_create.bats +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bats - -load helpers - -function setup() { - copy_images -} - -function teardown() { - cleanup_test -} - -@test "create a container based on local image" { - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} create $BB ls - echo "$output" - [ "$status" -eq 0 ] -} - -@test "create a container based on a remote image" { - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} create ${BB_GLIBC} ls - echo "$output" - [ "$status" -eq 0 ] -} - -@test "ensure short options" { - run ${PODMAN_BINARY} ${PODMAN_OPTIONS} create -dt ${BB_GLIBC} ls - echo "$output" - [ "$status" -eq 0 ] -} -- cgit v1.2.3-54-g00ecf