diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-07-13 10:53:50 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-07-13 10:55:27 -0400 |
commit | cc2cfe06025c0eec90114efc98e8ab0d00879da5 (patch) | |
tree | 879dafba05a25f59f98589be3d24ee09ddc96288 /test/system | |
parent | 4df6122aaa3bc858e9488d366a2c9c91b6671170 (diff) | |
download | podman-cc2cfe06025c0eec90114efc98e8ab0d00879da5.tar.gz podman-cc2cfe06025c0eec90114efc98e8ab0d00879da5.tar.bz2 podman-cc2cfe06025c0eec90114efc98e8ab0d00879da5.zip |
Add podman events -f to be alias for --filter
Needed for Docker compatibility.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r-- | test/system/090-events.bats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/090-events.bats b/test/system/090-events.bats index 128802360..ceb53ae73 100644 --- a/test/system/090-events.bats +++ b/test/system/090-events.bats @@ -13,11 +13,11 @@ load helpers run_podman run --label $labelname=$labelvalue --name $cname --rm $IMAGE ls expect=".* container start [0-9a-f]\+ (image=$IMAGE, name=$cname,.* ${labelname}=${labelvalue}" - run_podman events --filter type=container --filter container=$cname --filter label=${labelname}=${labelvalue} --filter event=start --stream=false + run_podman events --filter type=container -f container=$cname --filter label=${labelname}=${labelvalue} --filter event=start --stream=false is "$output" "$expect" "filtering by container name and label" # Same thing, but without the container-name filter - run_podman events --filter type=container --filter label=${labelname}=${labelvalue} --filter event=start --stream=false + run_podman events -f type=container --filter label=${labelname}=${labelvalue} --filter event=start --stream=false is "$output" "$expect" "filtering just by label" # Now filter just by container name, no label |