summaryrefslogtreecommitdiff
path: root/test/system/500-networking.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-01 20:37:15 -0400
committerGitHub <noreply@github.com>2021-06-01 20:37:15 -0400
commit41c76d694fbaa8249ea21aab04968c38513d2a9e (patch)
treed8a6f366b0564d2afc83aff990473d7a8084b178 /test/system/500-networking.bats
parent1f3b13759fbfba118919c1809e0df0fc1646ab46 (diff)
parentb6167cedb2ba69a66646a94eb27c49bbbea88e15 (diff)
downloadpodman-41c76d694fbaa8249ea21aab04968c38513d2a9e.tar.gz
podman-41c76d694fbaa8249ea21aab04968c38513d2a9e.tar.bz2
podman-41c76d694fbaa8249ea21aab04968c38513d2a9e.zip
Merge pull request #10527 from edsantiago/bats
System tests: add :Z to volume mounts
Diffstat (limited to 'test/system/500-networking.bats')
-rw-r--r--test/system/500-networking.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/500-networking.bats b/test/system/500-networking.bats
index 1cec50827..63b9a7c14 100644
--- a/test/system/500-networking.bats
+++ b/test/system/500-networking.bats
@@ -34,7 +34,7 @@ load helpers
# Bind-mount this file with a different name to a container running httpd
run_podman run -d --name myweb -p "$HOST_PORT:80" \
--restart always \
- -v $INDEX1:/var/www/index.txt \
+ -v $INDEX1:/var/www/index.txt:Z \
-w /var/www \
$IMAGE /bin/busybox-extras httpd -f -p 80
cid=$output
@@ -257,7 +257,7 @@ load helpers
# Bind-mount this file with a different name to a container running httpd
run_podman run -d --name myweb -p "$HOST_PORT:80" \
--network $netname \
- -v $INDEX1:/var/www/index.txt \
+ -v $INDEX1:/var/www/index.txt:Z \
-w /var/www \
$IMAGE /bin/busybox-extras httpd -f -p 80
cid=$output