summaryrefslogtreecommitdiff
path: root/test/system/160-volumes.bats
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-11-12 05:55:39 -0700
committerEd Santiago <santiago@redhat.com>2020-11-14 14:55:48 -0700
commita4c24719445777292193fa2c7a325a1757096fdd (patch)
treeb94acbbe3111af3b574c8d8a43f6880039502231 /test/system/160-volumes.bats
parent4eb9c28433f8aa1827f844881efb1ae1d15b0860 (diff)
downloadpodman-a4c24719445777292193fa2c7a325a1757096fdd.tar.gz
podman-a4c24719445777292193fa2c7a325a1757096fdd.tar.bz2
podman-a4c24719445777292193fa2c7a325a1757096fdd.zip
system tests: various
- images: confirm that 'podman images' emits headings even if there are no images present. Intended to replace e2e test which is difficult to get working under podman-remote. - build: add test for #8092, podman-build gobbling stdin. Workaround needed for issues #8342 and #8343, in which podman-remote output differs from podman local. - volumes: add test for #8307, double-lock on same volume. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/160-volumes.bats')
-rw-r--r--test/system/160-volumes.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats
index c19e61669..0b7aab2fb 100644
--- a/test/system/160-volumes.bats
+++ b/test/system/160-volumes.bats
@@ -162,7 +162,8 @@ EOF
myvol=myvol$(random_string)
rand=$(random_string)
- run_podman run --rm -v $myvol:/myvol:z $IMAGE \
+ # Duplicate "-v" confirms #8307, fix for double-lock on same volume
+ run_podman run --rm -v $myvol:/myvol:z -v $myvol:/myvol2:z $IMAGE \
sh -c "echo $rand >/myvol/myfile"
run_podman volume ls -q
is "$output" "$myvol" "autocreated named container persists"