aboutsummaryrefslogtreecommitdiff
path: root/test/kpod_mount.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/kpod_mount.bats')
-rw-r--r--test/kpod_mount.bats39
1 files changed, 0 insertions, 39 deletions
diff --git a/test/kpod_mount.bats b/test/kpod_mount.bats
deleted file mode 100644
index 12c41c071..000000000
--- a/test/kpod_mount.bats
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env bats
-
-load helpers
-
-IMAGE="redis:alpine"
-
-function teardown() {
- cleanup_test
-}
-
-function setup() {
- prepare_network_conf
- copy_images
-}
-
-@test "mount" {
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} create $BB ls"
- echo "$output"
- [ "$status" -eq 0 ]
- ctr_id="$output"
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} mount $ctr_id"
- echo "$output"
- [ "$status" -eq 0 ]
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} mount --notruncate | grep $ctr_id"
- echo "$output"
- [ "$status" -eq 0 ]
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} unmount $ctr_id"
- echo "$output"
- [ "$status" -eq 0 ]
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} mount $ctr_id"
- echo "$output"
- [ "$status" -eq 0 ]
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} mount --format=json | python -m json.tool | grep $ctr_id"
- echo "$output"
- [ "$status" -eq 0 ]
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} unmount $ctr_id"
- echo "$output"
- [ "$status" -eq 0 ]
-}