summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2019-04-27 02:22:40 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-29 16:47:18 +0200
commit5238e9575906297608ff802a27e2ff9effa3b338 (patch)
treee17c534a09908167a0697a49ed3237f43134eb4c /test
parentnetwork: drop invalid assertion (diff)
downloadsystemd-5238e9575906297608ff802a27e2ff9effa3b338.tar.xz
systemd-5238e9575906297608ff802a27e2ff9effa3b338.zip
codespell: fix spelling errors
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-20-MAINPIDGAMES/testsuite.sh4
-rw-r--r--test/TEST-21-SYSUSERS/unhappy-2.input2
-rwxr-xr-xtest/TEST-22-TMPFILES/test-03.sh2
-rw-r--r--test/mkosi.default.networkd-test2
-rwxr-xr-xtest/sysv-generator-test.py2
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py2
-rwxr-xr-xtest/udev-test.pl2
7 files changed, 8 insertions, 8 deletions
diff --git a/test/TEST-20-MAINPIDGAMES/testsuite.sh b/test/TEST-20-MAINPIDGAMES/testsuite.sh
index 9471a5d734..904ac0e3b8 100755
--- a/test/TEST-20-MAINPIDGAMES/testsuite.sh
+++ b/test/TEST-20-MAINPIDGAMES/testsuite.sh
@@ -42,11 +42,11 @@ test `systemctl show -p MainPID --value testsuite.service` -eq $$
systemd-notify MAINPID=1073741824
test `systemctl show -p MainPID --value testsuite.service` -eq $$
-# Change it again to the external PID, without priviliges this time. This should be ignored, because the PID is from outside of our cgroup and we lack privileges.
+# Change it again to the external PID, without privileges this time. This should be ignored, because the PID is from outside of our cgroup and we lack privileges.
systemd-notify --uid=1000 MAINPID=$EXTERNALPID
test `systemctl show -p MainPID --value testsuite.service` -eq $$
-# Change it again to the internal PID, without priviliges this time. This should work, as the process is on our cgroup, and that's enough even if we lack privileges.
+# Change it again to the internal PID, without privileges this time. This should work, as the process is on our cgroup, and that's enough even if we lack privileges.
systemd-notify --uid=1000 MAINPID=$INTERNALPID
test `systemctl show -p MainPID --value testsuite.service` -eq $INTERNALPID
diff --git a/test/TEST-21-SYSUSERS/unhappy-2.input b/test/TEST-21-SYSUSERS/unhappy-2.input
index 5be0e6d187..3266b2229b 100644
--- a/test/TEST-21-SYSUSERS/unhappy-2.input
+++ b/test/TEST-21-SYSUSERS/unhappy-2.input
@@ -1,4 +1,4 @@
-# Ensure it is not allowed to create groups implicitely in the uid:gid syntax
+# Ensure it is not allowed to create groups implicitly in the uid:gid syntax
#
#Type Name ID GECOS HOMEDIR
u u1 100:100 -
diff --git a/test/TEST-22-TMPFILES/test-03.sh b/test/TEST-22-TMPFILES/test-03.sh
index 39a4badc38..8d009fb5bb 100755
--- a/test/TEST-22-TMPFILES/test-03.sh
+++ b/test/TEST-22-TMPFILES/test-03.sh
@@ -212,7 +212,7 @@ EOF
test -f /tmp/w/overwritten
test "$(< /tmp/w/overwritten)" = "new content"
-### writing into an 'exotic' file sould be allowed.
+### writing into an 'exotic' file should be allowed.
systemd-tmpfiles --create - <<EOF
w /dev/null - - - - new content
EOF
diff --git a/test/mkosi.default.networkd-test b/test/mkosi.default.networkd-test
index 9630d3ec42..58af352f6f 100644
--- a/test/mkosi.default.networkd-test
+++ b/test/mkosi.default.networkd-test
@@ -1,7 +1,7 @@
# Puts together an nspawn container and runs networkd-test.py in it, inside a
# network namespace and everything. Run this with "mkosi
# --default=mkosi.default.networkd-test boot". This will start the test and
-# eventually exit with sucess in case the test succeeded.
+# eventually exit with success in case the test succeeded.
[Distribution]
Distribution=fedora
diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py
index abb3116c97..3d9c1ddb87 100755
--- a/test/sysv-generator-test.py
+++ b/test/sysv-generator-test.py
@@ -48,7 +48,7 @@ class SysvGeneratorTest(unittest.TestCase):
'''Run sysv-generator.
Fail if stderr contains any "Fail", unless expect_error is True.
- Return (stderr, filename -> ConfigParser) pair with ouput to stderr and
+ Return (stderr, filename -> ConfigParser) pair with output to stderr and
parsed generated units.
'''
env = os.environ.copy()
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 843125ee65..806f860eb7 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -2049,7 +2049,7 @@ class NetworkdNetworkDHCPClientTests(unittest.TestCase, Utilities):
print(output)
self.assertRegex(output, '192.168.5.*')
- # Stoping dnsmasq as networkd won't be allowed to renew the DHCP lease.
+ # Stopping dnsmasq as networkd won't be allowed to renew the DHCP lease.
self.stop_dnsmasq(dnsmasq_pid_file)
# Sleep for 120 sec as the dnsmasq minimum lease time can only be set to 120
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 122359e377..b37b2e975f 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -279,7 +279,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
EOF
},
{
- desc => "sustitution of sysfs value (%s{file})",
+ desc => "substitution of sysfs value (%s{file})",
devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda",
exp_name => "disk-ATA-sda",
rules => <<EOF