summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-01-21 07:02:54 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2022-01-21 09:52:12 -0500
commit5736649eb8eca8b6f1870a1868def188be1467ff (patch)
tree777de6b2dfc18de27fb5996e8c17469fba4324f5 /test
parentc6fd8a421263f5e0386b6f711ea62e68b0188ad6 (diff)
downloadpodman-5736649eb8eca8b6f1870a1868def188be1467ff.tar.gz
podman-5736649eb8eca8b6f1870a1868def188be1467ff.tar.bz2
podman-5736649eb8eca8b6f1870a1868def188be1467ff.zip
Run codespell on code
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/e2e/play_build_test.go4
-rw-r--r--test/e2e/volume_create_test.go2
-rw-r--r--test/system/160-volumes.bats2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/e2e/play_build_test.go b/test/e2e/play_build_test.go
index bbebf7949..70e042b4d 100644
--- a/test/e2e/play_build_test.go
+++ b/test/e2e/play_build_test.go
@@ -173,7 +173,7 @@ LABEL marge=mom
err = writeYaml(testYAML, filepath.Join(yamlDir, "top.yaml"))
Expect(err).To(BeNil())
- // build an image called foobar but make sure it doesnt have
+ // build an image called foobar but make sure it doesn't have
// the same label as the yaml buildfile, so we can check that
// the image is NOT rebuilt.
err = writeYaml(prebuiltImage, filepath.Join(yamlDir, "Containerfile"))
@@ -220,7 +220,7 @@ LABEL marge=mom
err = writeYaml(testYAML, filepath.Join(yamlDir, "top.yaml"))
Expect(err).To(BeNil())
- // build an image called foobar but make sure it doesnt have
+ // build an image called foobar but make sure it doesn't have
// the same label as the yaml buildfile, so we can check that
// the image is NOT rebuilt.
err = writeYaml(prebuiltImage, filepath.Join(yamlDir, "Containerfile"))
diff --git a/test/e2e/volume_create_test.go b/test/e2e/volume_create_test.go
index 966bc932a..0ac91abd3 100644
--- a/test/e2e/volume_create_test.go
+++ b/test/e2e/volume_create_test.go
@@ -144,7 +144,7 @@ var _ = Describe("Podman volume create", func() {
Expect(inspectGID).Should(Exit(0))
Expect(inspectGID.OutputToString()).To(Equal(gid))
- // options should containt `uid=3000,gid=4000:3000:4000`
+ // options should contain `uid=3000,gid=4000:3000:4000`
optionFormat := `{{ .Options.o }}:{{ .Options.UID }}:{{ .Options.GID }}`
optionStrFormatExpect := fmt.Sprintf(`uid=%s,gid=%s:%s:%s`, uid, gid, uid, gid)
inspectOpts := podmanTest.Podman([]string{"volume", "inspect", "--format", optionFormat, volName})
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats
index b6030ba3c..3f2d7f6bb 100644
--- a/test/system/160-volumes.bats
+++ b/test/system/160-volumes.bats
@@ -375,7 +375,7 @@ NeedsChown | true
run_podman run --rm --volume $myvolume:/etc $IMAGE ls /etc/passwd
run_podman volume inspect --format '{{ .NeedsCopyUp }}' $myvolume
- is "${output}" "false" "If content in dest '/etc' non-empty NeedsCopyUP should still have happend and be false"
+ is "${output}" "false" "If content in dest '/etc' non-empty NeedsCopyUP should still have happened and be false"
run_podman volume inspect --format '{{.Mountpoint}}' $myvolume
mountpoint="$output"