summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-11 06:12:58 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-11 06:14:25 -0400
commit526f01cdf59b966b6ec0d35f10cdd95ad1aa2611 (patch)
treeac8d7469048c27a0c55a15caa00dedbe3dd76520 /test
parent397de44d487e25b5820777fcbab9728cf2af5e14 (diff)
downloadpodman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.tar.gz
podman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.tar.bz2
podman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.zip
Fix up errors found by codespell
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
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 997699ecb..75947e1cd 100644
--- a/test/system/070-build.bats
+++ b/test/system/070-build.bats
@@ -128,7 +128,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",