summaryrefslogtreecommitdiff
path: root/test/podman_mount.bats
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-08 10:40:43 -0600
committerbaude <bbaude@redhat.com>2018-02-08 12:37:07 -0600
commitc089cb9c9270aa4b367deb8c8c03cb05f8860a33 (patch)
tree8d765658f757798e1578fd2fc96f1528e6af5e20 /test/podman_mount.bats
parent8fdccb77648f5b772c6bae98fce4734b1a54ed4a (diff)
downloadpodman-c089cb9c9270aa4b367deb8c8c03cb05f8860a33.tar.gz
podman-c089cb9c9270aa4b367deb8c8c03cb05f8860a33.tar.bz2
podman-c089cb9c9270aa4b367deb8c8c03cb05f8860a33.zip
Final ginkgo migration
Completion of the migration from bats to ginkgo. This includes: * load * mount * pause * port * run_networking * search Note: build will be done within a different PR Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/podman_mount.bats')
-rw-r--r--test/podman_mount.bats38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/podman_mount.bats b/test/podman_mount.bats
deleted file mode 100644
index f3d04fb98..000000000
--- a/test/podman_mount.bats
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env bats
-
-load helpers
-
-IMAGE="redis:alpine"
-
-function teardown() {
- cleanup_test
-}
-
-function setup() {
- copy_images
-}
-
-@test "mount" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} create $BB ls
- echo "$output"
- [ "$status" -eq 0 ]
- ctr_id="$output"
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} mount $ctr_id
- echo "$output"
- [ "$status" -eq 0 ]
- run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} mount --notruncate | grep $ctr_id"
- echo "$output"
- [ "$status" -eq 0 ]
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} unmount $ctr_id
- echo "$output"
- [ "$status" -eq 0 ]
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} mount $ctr_id
- echo "$output"
- [ "$status" -eq 0 ]
- run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} mount --format=json | python -m json.tool | grep $ctr_id"
- echo "$output"
- [ "$status" -eq 0 ]
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} unmount $ctr_id
- echo "$output"
- [ "$status" -eq 0 ]
-}