diff options
Diffstat (limited to 'test/kpod_ps.bats')
-rw-r--r-- | test/kpod_ps.bats | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/kpod_ps.bats b/test/kpod_ps.bats index 859cbaa99..3a5d94f59 100644 --- a/test/kpod_ps.bats +++ b/test/kpod_ps.bats @@ -120,3 +120,12 @@ function teardown() { [ "$status" -eq 0 ] run ${KPOD_BINARY} ${KPOD_OPTIONS} stop $ctr_id } + +@test "kpod ps short options" { + run ${KPOD_BINARY} ${KPOD_OPTIONS} run -d ${ALPINE} sleep 99 + ctr_id="$output" + run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} ps -aqs + echo "$output" + [ "$status" -eq 0 ] + run ${KPOD_BINARY} ${KPOD_OPTIONS} stop $ctr_id +} |