diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-01 03:36:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 03:36:11 -0400 |
commit | 317e20a8d5a39088ea112f8321630aacfe27ddbc (patch) | |
tree | 934f83cc105ca3f619d07f7b41384c3d4c31a534 /test/system/160-volumes.bats | |
parent | f96c281f53cff68ac0715dac5da0f53eefa95b8b (diff) | |
parent | bf94ebf423931f6cd848126372fe558c8b956dcc (diff) | |
download | podman-317e20a8d5a39088ea112f8321630aacfe27ddbc.tar.gz podman-317e20a8d5a39088ea112f8321630aacfe27ddbc.tar.bz2 podman-317e20a8d5a39088ea112f8321630aacfe27ddbc.zip |
Merge pull request #11776 from edsantiago/bats_is_cleanup
System tests: tighten 'is' operator
Diffstat (limited to 'test/system/160-volumes.bats')
-rw-r--r-- | test/system/160-volumes.bats | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats index e21be9ea4..b48198a18 100644 --- a/test/system/160-volumes.bats +++ b/test/system/160-volumes.bats @@ -261,7 +261,8 @@ EOF # prune should remove v4 run_podman volume prune --force - is "$output" "${v[4]}" "volume prune, with 1, 2, 3 in use, deletes only 4" + is "$(echo $(sort <<<$output))" "${v[4]} ${v[5]} ${v[6]}" \ + "volume prune, with 1, 2, 3 in use, deletes only 4, 5, 6" # Remove the container using v2 and v3. Prune should now remove those. # The 'echo sort' is to get the output sorted and in one line. |