summaryrefslogtreecommitdiff
path: root/test/podman_top.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/podman_top.bats')
-rw-r--r--test/podman_top.bats6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/podman_top.bats b/test/podman_top.bats
index e592a0e22..a8b92cd44 100644
--- a/test/podman_top.bats
+++ b/test/podman_top.bats
@@ -13,13 +13,13 @@ function setup() {
@test "top without container name or id" {
run ${PODMAN_BINARY} ${PODMAN_OPTIONS} top
echo "$output"
- [ "$status" -eq 1 ]
+ [ "$status" -eq 125 ]
}
@test "top a bogus container" {
run ${PODMAN_BINARY} ${PODMAN_OPTIONS} top foobar
echo "$output"
- [ "$status" -eq 1 ]
+ [ "$status" -eq 125 ]
}
@test "top non-running container by id with defaults" {
@@ -28,7 +28,7 @@ function setup() {
ctr_id="$output"
run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} top $ctr_id"
echo "$output"
- [ "$status" -eq 1 ]
+ [ "$status" -eq 125 ]
}
@test "top running container by id with defaults" {