summaryrefslogtreecommitdiff
path: root/test/e2e/run_test.go
diff options
context:
space:
mode:
authorErik Sjölund <erik.sjolund@gmail.com>2022-07-02 08:37:43 +0200
committerErik Sjölund <erik.sjolund@gmail.com>2022-07-02 08:37:43 +0200
commit24fcfb5d9e1a4c92f386cd34b5c1f44a2676d116 (patch)
treecc5ceb053da33b0d8b23ab7e7094f4ae6edc2969 /test/e2e/run_test.go
parentb00e65aa9c071428579a55f91a92f3702765ed85 (diff)
downloadpodman-24fcfb5d9e1a4c92f386cd34b5c1f44a2676d116.tar.gz
podman-24fcfb5d9e1a4c92f386cd34b5c1f44a2676d116.tar.bz2
podman-24fcfb5d9e1a4c92f386cd34b5c1f44a2676d116.zip
Fix spelling "read only" -> "read-only"
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
Diffstat (limited to 'test/e2e/run_test.go')
-rw-r--r--test/e2e/run_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index 828e92170..42b01bdcc 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -1084,7 +1084,7 @@ USER mail`, BB)
Expect(session).Should(Exit(0))
ctrID := session.OutputToString()
- // check that the read only option works
+ // check that the read-only option works
session = podmanTest.Podman([]string{"run", "--volumes-from", ctrID + ":ro", ALPINE, "touch", mountpoint + "abc.txt"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(1))
@@ -1108,13 +1108,13 @@ USER mail`, BB)
Expect(session).Should(Exit(125))
Expect(session.ErrorToString()).To(ContainSubstring("cannot set :z more than once in mount options"))
- // create new read only volume
+ // create new read-only volume
session = podmanTest.Podman([]string{"create", "--volume", vol + ":" + mountpoint + ":ro", ALPINE, "cat", mountpoint + filename})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
ctrID = session.OutputToString()
- // check if the original volume was mounted as read only that --volumes-from also mount it as read only
+ // check if the original volume was mounted as read-only that --volumes-from also mount it as read-only
session = podmanTest.Podman([]string{"run", "--volumes-from", ctrID, ALPINE, "touch", mountpoint + "abc.txt"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(1))