diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-23 16:21:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 16:21:53 -0400 |
commit | 050dcadf69dfe34986015ef14a99002617acd71a (patch) | |
tree | f69648182082c37d4416efdb5405a9431984463c /test/system/090-events.bats | |
parent | 51fa8ded9ffb7924288a2728ce92af7f6cc66d34 (diff) | |
parent | c593e49701b3a4bb48050f3d8829f2fe6ac457ef (diff) | |
download | podman-050dcadf69dfe34986015ef14a99002617acd71a.tar.gz podman-050dcadf69dfe34986015ef14a99002617acd71a.tar.bz2 podman-050dcadf69dfe34986015ef14a99002617acd71a.zip |
Merge pull request #8103 from baude/eventlabels
filter events by labels
Diffstat (limited to 'test/system/090-events.bats')
-rw-r--r-- | test/system/090-events.bats | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/system/090-events.bats b/test/system/090-events.bats new file mode 100644 index 000000000..06e28ec3a --- /dev/null +++ b/test/system/090-events.bats @@ -0,0 +1,14 @@ +#!/usr/bin/env bats -*- bats -*- +# +# tests for podman events functionality +# + +load helpers + +@test "events with a filter by label" { + skip_if_remote "Need to talk to Ed on why this is failing on remote" + rand=$(random_string 30) + run_podman 0 run --label foo=bar --name test-$rand --rm $IMAGE ls + run_podman 0 events --filter type=container --filter container=test-$rand --filter label=foo=bar --filter event=start --stream=false + is "$output" ".*foo=bar" "check for label event on container with label" +} |