summaryrefslogtreecommitdiff
path: root/test/system/160-volumes.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-15 12:38:40 +0100
committerGitHub <noreply@github.com>2020-11-15 12:38:40 +0100
commit9fa09a83b30c5d9300eb40b3d50b405153b37f7a (patch)
treeb94acbbe3111af3b574c8d8a43f6880039502231 /test/system/160-volumes.bats
parent4eb9c28433f8aa1827f844881efb1ae1d15b0860 (diff)
parenta4c24719445777292193fa2c7a325a1757096fdd (diff)
downloadpodman-9fa09a83b30c5d9300eb40b3d50b405153b37f7a.tar.gz
podman-9fa09a83b30c5d9300eb40b3d50b405153b37f7a.tar.bz2
podman-9fa09a83b30c5d9300eb40b3d50b405153b37f7a.zip
Merge pull request #8325 from edsantiago/bats
system tests: various
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"