Refactor kpod tests
Move kpod tests from kpod.bats to kpod_[commandname].bats Also make sure all status checks have a echo $output before them. Signed-off-by: Ryan Cole <rcyoalne@gmail.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Signed-off-by: umohnani8 <umohnani@redhat.com>
This commit is contained in:
parent
e838611fdd
commit
e16bb3feb3
19 changed files with 350 additions and 295 deletions
|
@ -59,6 +59,11 @@ PIDS_LIMIT=${PIDS_LIMIT:-1024}
|
|||
# Log size max limit
|
||||
LOG_SIZE_MAX_LIMIT=${LOG_SIZE_MAX_LIMIT:--1}
|
||||
|
||||
# Options for kpod.
|
||||
ROOT="${TESTDIR}/crio"
|
||||
RUNROOT="${TESTDIR}/crio-run"
|
||||
KPOD_OPTIONS="--root ${ROOT} --runroot ${RUNROOT} ${STORAGE_OPTS} --runtime ${RUNTIME_BINARY}"
|
||||
|
||||
TESTDIR=$(mktemp -d)
|
||||
|
||||
# kpod pull needs a configuration file for shortname pulls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue