summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-02-07 11:34:31 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-02-15 16:51:52 +0100
commit4ff84696af496c398f7621f65858a0120fc2c596 (patch)
tree5b325151efd1a1b9a0dd293e89d6b9abd5b88320 /tests
parent25ab0aabf2e23aa1dcde0e0b8175f0d0417ef87e (diff)
src: Spelling fixes
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/py/nft-test.py2
-rw-r--r--tests/shell/README2
-rwxr-xr-xtests/shell/testcases/include/0012glob_dependency_12
-rwxr-xr-xtests/shell/testcases/listing/0002ruleset_02
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py
index 6aedfb09..87e3d51e 100755
--- a/tests/py/nft-test.py
+++ b/tests/py/nft-test.py
@@ -384,7 +384,7 @@ def set_add_elements(set_element, set_name, state, filename, lineno):
print_error(reason, filename, lineno)
return -1
- # Add element into a all_set.
+ # Add element into all_set.
if ret == 0 and state == "ok":
for e in set_element:
all_set[set_name].add(e)
diff --git a/tests/shell/README b/tests/shell/README
index 2d8681fd..3ffe642c 100644
--- a/tests/shell/README
+++ b/tests/shell/README
@@ -10,7 +10,7 @@ To run the test suite (as root):
Test files are executables files with the pattern <<name_N>>, where N is the
expected return code of the executable. Since they are located with `find',
-test-files can be spreaded in any sub-directories.
+test-files can be spread in any sub-directories.
You can turn on a verbose execution by calling:
% ./run-tests.sh -v
diff --git a/tests/shell/testcases/include/0012glob_dependency_1 b/tests/shell/testcases/include/0012glob_dependency_1
index 740f5ea1..6cf4ba17 100755
--- a/tests/shell/testcases/include/0012glob_dependency_1
+++ b/tests/shell/testcases/include/0012glob_dependency_1
@@ -38,7 +38,7 @@ RULESET1="add table x"
RULESET2="add chain x y"
RULESET3="include \"$tmpdir/*\""
-# Note different order when compared with 0011dir_depencency_0. The idea
+# Note different order when compared with 0011dir_dependency_0. The idea
# here is to introduce wrong order to get the loading fail.
echo "$RULESET1" > $tmpfile2
echo "$RULESET2" > $tmpfile1
diff --git a/tests/shell/testcases/listing/0002ruleset_0 b/tests/shell/testcases/listing/0002ruleset_0
index 916034ff..45121fb7 100755
--- a/tests/shell/testcases/listing/0002ruleset_0
+++ b/tests/shell/testcases/listing/0002ruleset_0
@@ -1,6 +1,6 @@
#!/bin/bash
-# list ruleset show nothing if emtpy ruleset
+# list ruleset show nothing if empty ruleset
EXPECTED=""