summaryrefslogtreecommitdiff
path: root/test/kpod_create.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/kpod_create.bats')
-rw-r--r--test/kpod_create.bats11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/kpod_create.bats b/test/kpod_create.bats
index 225ecca98..3d3efcff3 100644
--- a/test/kpod_create.bats
+++ b/test/kpod_create.bats
@@ -2,21 +2,22 @@
load helpers
+function setup() {
+ copy_images
+}
+
function teardown() {
cleanup_test
}
-ALPINE="docker.io/library/alpine:latest"
-
@test "create a container based on local image" {
- ${KPOD_BINARY} ${KPOD_OPTIONS} pull docker.io/library/busybox:latest
- run ${KPOD_BINARY} ${KPOD_OPTIONS} create docker.io/library/busybox:latest ls
+ run ${KPOD_BINARY} ${KPOD_OPTIONS} create $BB ls
echo "$output"
[ "$status" -eq 0 ]
}
@test "create a container based on a remote image" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} create ${ALPINE} ls
+ run ${KPOD_BINARY} ${KPOD_OPTIONS} create ${BB_GLIBC} ls
echo "$output"
[ "$status" -eq 0 ]
}