summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-11 11:30:05 -0400
committerGitHub <noreply@github.com>2020-09-11 11:30:05 -0400
commitd7db1da7897160e1e90accbf0a178a4da99638a4 (patch)
tree38cf5056056bf5b87b61125c55fc2e6b6f2ceabe /test
parent881f2dfe9221a65b0bcac8682dc3add12bfa6077 (diff)
parent526f01cdf59b966b6ec0d35f10cdd95ad1aa2611 (diff)
downloadpodman-d7db1da7897160e1e90accbf0a178a4da99638a4.tar.gz
podman-d7db1da7897160e1e90accbf0a178a4da99638a4.tar.bz2
podman-d7db1da7897160e1e90accbf0a178a4da99638a4.zip
Merge pull request #7600 from rhatdan/codespell
Fix up errors found by codespell
Diffstat (limited to 'test')
-rw-r--r--test/e2e/containers_conf_test.go4
-rw-r--r--test/e2e/prune_test.go2
-rw-r--r--test/e2e/ps_test.go2
-rw-r--r--test/python/dockerpy/tests/test_images.py2
-rw-r--r--test/system/070-build.bats2
-rw-r--r--test/utils/common_function_test.go4
6 files changed, 8 insertions, 8 deletions
diff --git a/test/e2e/containers_conf_test.go b/test/e2e/containers_conf_test.go
index 1054f55f6..8339b7732 100644
--- a/test/e2e/containers_conf_test.go
+++ b/test/e2e/containers_conf_test.go
@@ -93,7 +93,7 @@ var _ = Describe("Podman run", func() {
Expect(session.OutputToString()).ToNot(Equal(cap.OutputToString()))
})
- It("podman Regular capabilties", func() {
+ It("podman Regular capabilities", func() {
SkipIfRootless()
os.Setenv("CONTAINERS_CONF", "config/containers.conf")
setup := podmanTest.RunTopContainer("test1")
@@ -105,7 +105,7 @@ var _ = Describe("Podman run", func() {
Expect(result.OutputToString()).To(ContainSubstring("NET_RAW"))
})
- It("podman drop capabilties", func() {
+ It("podman drop capabilities", func() {
os.Setenv("CONTAINERS_CONF", "config/containers-caps.conf")
setup := podmanTest.RunTopContainer("test1")
setup.WaitWithDefaultTimeout()
diff --git a/test/e2e/prune_test.go b/test/e2e/prune_test.go
index 1d592a42d..9c9d85194 100644
--- a/test/e2e/prune_test.go
+++ b/test/e2e/prune_test.go
@@ -261,7 +261,7 @@ var _ = Describe("Podman prune", func() {
// Two as pods infra container and one newly created.
Expect(podmanTest.NumberOfContainers()).To(Equal(3))
- // image list current count should not be pruned if all flag isnt enabled
+ // image list current count should not be pruned if all flag isn't enabled
session = podmanTest.Podman([]string{"images"})
session.WaitWithDefaultTimeout()
numberOfImages := len(session.OutputToStringArray())
diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go
index a2338c924..66233412c 100644
--- a/test/e2e/ps_test.go
+++ b/test/e2e/ps_test.go
@@ -484,7 +484,7 @@ var _ = Describe("Podman ps", func() {
Expect(ps.OutputToString()).To(ContainSubstring("0.0.0.0:8080->80/tcp"))
})
- It("podman ps truncate long create commad", func() {
+ It("podman ps truncate long create command", func() {
session := podmanTest.Podman([]string{"run", ALPINE, "echo", "very", "long", "create", "command"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
diff --git a/test/python/dockerpy/tests/test_images.py b/test/python/dockerpy/tests/test_images.py
index 5eae61c2f..602a86de2 100644
--- a/test/python/dockerpy/tests/test_images.py
+++ b/test/python/dockerpy/tests/test_images.py
@@ -59,7 +59,7 @@ class TestImages(unittest.TestCase):
self.assertFalse
# Validates if name updates when the image is retagged.
- @unittest.skip("dosent work now")
+ @unittest.skip("doesn't work now")
def test_retag_valid_image(self):
client.tag(constant.ALPINE_SHORTNAME, "demo", "rename")
alpine_image = client.inspect_image(constant.ALPINE)
diff --git a/test/system/070-build.bats b/test/system/070-build.bats
index 1d757bbc7..66f6610ea 100644
--- a/test/system/070-build.bats
+++ b/test/system/070-build.bats
@@ -145,7 +145,7 @@ echo "\$1"
printenv | grep MYENV | sort | sed -e 's/^MYENV.=//'
EOF
- # For overridding with --env-file
+ # For overriding with --env-file
cat >$PODMAN_TMPDIR/env-file <<EOF
MYENV3=$s_env3
http_proxy=http-proxy-in-env-file
diff --git a/test/utils/common_function_test.go b/test/utils/common_function_test.go
index 26bb8b473..0bbc31d5b 100644
--- a/test/utils/common_function_test.go
+++ b/test/utils/common_function_test.go
@@ -75,10 +75,10 @@ var _ = Describe("Common functions test", func() {
Expect(newer).To(Equal(expect), "Version compare results is not as expect.")
Expect(err == nil).To(Equal(isNil), "Error is not as expect.")
},
- Entry("Invlid kernel version: 0", "0", false, false),
+ Entry("Invalid kernel version: 0", "0", false, false),
Entry("Older kernel version:0.0", "0.0", true, true),
Entry("Newer kernel version: 100.17.14", "100.17.14", false, true),
- Entry("Invlid kernel version: I am not a kernel version", "I am not a kernel version", false, false),
+ Entry("Invalid kernel version: I am not a kernel version", "I am not a kernel version", false, false),
)
DescribeTable("Test TestIsCommandAvailable",