diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-01-04 08:53:46 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-01-04 21:05:10 +0000 |
commit | b231e3412e7d37d9680229e3782e28161792c7f8 (patch) | |
tree | da0d214d45bbb13b3254dfe450b73ddc24e44351 /test/podman_stats.bats | |
parent | 137e5c8ffd5e1d7abe47398d909c9611f19bfcbb (diff) | |
download | podman-b231e3412e7d37d9680229e3782e28161792c7f8.tar.gz podman-b231e3412e7d37d9680229e3782e28161792c7f8.tar.bz2 podman-b231e3412e7d37d9680229e3782e28161792c7f8.zip |
Fix handling of exit codes
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #183
Approved by: TomSweeneyRedHat
Diffstat (limited to 'test/podman_stats.bats')
-rw-r--r-- | test/podman_stats.bats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/podman_stats.bats b/test/podman_stats.bats index 91ef62f6b..7bdd0ee63 100644 --- a/test/podman_stats.bats +++ b/test/podman_stats.bats @@ -19,7 +19,7 @@ function setup() { @test "stats with bogus container id" { run ${PODMAN_BINARY} ${PODMAN_OPTIONS} stats --no-stream 123 echo "$output" - [ "$status" -eq 1 ] + [ "$status" -eq 125 ] } @test "stats on a running container" { |