From 5770dc2640c216525ab84031e3712fcc46b3b087 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Fri, 15 Dec 2017 16:58:36 -0500 Subject: Rename all references to kpod to podman The decision is in, kpod is going to be named podman. Signed-off-by: Daniel J Walsh Closes: #145 Approved by: umohnani8 --- test/kpod_top.bats | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 test/kpod_top.bats (limited to 'test/kpod_top.bats') diff --git a/test/kpod_top.bats b/test/kpod_top.bats deleted file mode 100644 index 9d54908bc..000000000 --- a/test/kpod_top.bats +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/env bats - -load helpers - -function teardown() { - cleanup_test -} - -function setup() { - prepare_network_conf - copy_images -} - -@test "top without container name or id" { - run ${KPOD_BINARY} ${KPOD_OPTIONS} top - echo "$output" - [ "$status" -eq 1 ] -} - -@test "top a bogus container" { - run ${KPOD_BINARY} ${KPOD_OPTIONS} top foobar - echo "$output" - [ "$status" -eq 1 ] -} - -@test "top non-running container by id with defaults" { - run ${KPOD_BINARY} ${KPOD_OPTIONS} create -d ${ALPINE} sleep 60 - [ "$status" -eq 0 ] - ctr_id="$output" - run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} top $ctr_id" - echo "$output" - [ "$status" -eq 1 ] -} - -@test "top running container by id with defaults" { - run ${KPOD_BINARY} ${KPOD_OPTIONS} run -dt ${ALPINE} /bin/sh - [ "$status" -eq 0 ] - ctr_id="$output" - echo $ctr_id - run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} top $ctr_id" - echo "$output" - [ "$status" -eq 0 ] -} - -@test "top running container by id with ps opts" { - run ${KPOD_BINARY} ${KPOD_OPTIONS} run -d ${ALPINE} sleep 60 - [ "$status" -eq 0 ] - ctr_id="$output" - run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} top $ctr_id -o fuser,f,comm,label" - echo "$output" - [ "$status" -eq 0 ] -} -- cgit v1.2.3-54-g00ecf