summaryrefslogtreecommitdiff
path: root/test/kpod_exec.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/kpod_exec.bats')
-rw-r--r--test/kpod_exec.bats31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/kpod_exec.bats b/test/kpod_exec.bats
deleted file mode 100644
index 5396298d3..000000000
--- a/test/kpod_exec.bats
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env bats
-
-load helpers
-
-function teardown() {
- cleanup_test
-}
-
-function setup() {
- prepare_network_conf
- copy_images
-}
-
-@test "exec into a bogus container" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} exec foobar ls
- echo "$output"
- [ "$status" -eq 1 ]
-}
-
-@test "exec without command should fail" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} exec foobar
- echo "$output"
- [ "$status" -eq 1 ]
-}
-
-@test "exec simple command" {
- ${KPOD_BINARY} ${KPOD_OPTIONS} run -d -t --name foobar1 ${ALPINE} sleep 60
- run ${KPOD_BINARY} ${KPOD_OPTIONS} exec foobar1 ls
- echo "$output"
- [ "$status" -eq 0 ]
-}