]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 19 Aug 2025 21:30:16 +0000 (06:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 20 Aug 2025 07:17:11 +0000 (16:17 +0900)
src/test/test-install-root.c
test/integration-tests/TEST-16-EXTEND-TIMEOUT/TEST-16-EXTEND-TIMEOUT.units/fail-stop.service
test/knot-data/zones/test.zone
test/units/TEST-10-MOUNT.sh
test/units/TEST-15-DROPIN.sh
test/units/TEST-65-ANALYZE.sh
test/units/TEST-75-RESOLVED.sh

index a17198b9356ed39432907a81f07e02d9806c92d3..2545b1fd04fc0b4ec45955a06fa625720f19fa27 100644 (file)
@@ -1203,7 +1203,7 @@ TEST(verify_alias) {
         verify_one(&bare_template, "foo.target.wants/plain.socket", -EXDEV, NULL);
         verify_one(&bare_template, "foo.target.wants/plain@.service", -EXDEV, NULL);
          /* Name mismatch: we cannot allow this, because plain@foo.service would be pulled in by foo.target,
-          * but would not be resolveable on its own, since systemd doesn't know how to load the fragment. */
+          * but would not be resolvable on its own, since systemd doesn't know how to load the fragment. */
         verify_one(&bare_template, "foo.target.wants/plain@foo.service", -EXDEV, NULL);
         verify_one(&bare_template, "foo.target.wants/template1@foo.service", 0, NULL);
         verify_one(&bare_template, "foo.target.wants/service", -EXDEV, NULL);
index 4293d7e8bdc530eaedf3d0d224d39571995a13b2..6d66731f85838bc6c55c9fb0e0fe137d6b0f5c29 100644 (file)
@@ -12,5 +12,5 @@ RuntimeMaxSec=4
 Environment=SERVICE=fail_stop extend_timeout_interval=5 sleep_interval=7 start_intervals=0 run_intervals=0 stop_intervals=2
 ExecStart=/usr/lib/systemd/tests/testdata/TEST-16-EXTEND-TIMEOUT.units/extend-timeout.sh
 # Due to 6041a7ee2c1bbff6301082f192fc1b0882400d42 SIGTERM isn't sent as the service shuts down with STOPPING=1
-# This file makes the test assess.sh quicker by notifing it that this test has finished.
+# This file makes the test assess.sh quicker by notifying it that this test has finished.
 ExecStopPost=/bin/bash -c '[[ $SERVICE_RESULT == timeout && $EXIT_CODE == killed ]] && touch /fail_runtime.terminated'
index 75583c4ce6fde099d5c7f647bfdd28777e94cce9..d0a95516d4d06ef956383b70fbacc68cff550158 100644 (file)
@@ -23,4 +23,4 @@ unsigned              NS   ns1.unsigned
 svcb                  SVCB  1   .   alpn=dot ipv4hint=10.0.0.1 ipv6hint=fd00:dead:beef:cafe::1
 https                 HTTPS 1   .   alpn="h2,h3"
 
-delegation.excercise A 1.2.3.4
+delegation.exercise   A 1.2.3.4
index b4c867918f3ebbeffc23bc085baa01e9a89b58c2..72c2ccfba25cf97d48bb8416d7cdca355cd67ce4 100755 (executable)
@@ -88,7 +88,7 @@ check_dependencies() {
     # event source will be retriggered when /run/mount/utab is updated, and the mount unit will be updated
     # again with the userspace options. Typically, the window between the two calls is very short, but when
     # the mount event source is ratelimited after the first event, processing the second event may be delayed
-    # about 1 secound. Hence, here we need to wait for a while.
+    # about 1 second. Hence, here we need to wait for a while.
     timeout 10 bash -c 'until systemctl show --property=After --value tmp-deptest.mount | grep -q -F remote-fs-pre.target; do sleep .1; done'
     after=$(systemctl show --property=After --value tmp-deptest.mount)
     assert_not_in "local-fs-pre.target" "$after"
index 5e4df52a4e453dfc8a11900d783361857a08e46d..c036bdbd6b5f77e05d3ea89d50601ca1a269cd57 100755 (executable)
@@ -335,7 +335,7 @@ testcase_transient_slice_dropins() {
     # FIXME: implement reloading of individual units.
     #
     # The settings here are loaded twice. For most settings it doesn't matter,
-    # but Documentation is not deduplicated, so we current get repeated entried
+    # but Documentation is not deduplicated, so we currently get repeated entries
     # which is a bug.
 
     mkdir -p /etc/systemd/system/slice.d
index 5a5a9ba206dc67e4bd90b36cafe19e6f7da28f42..721f4ca80966bd312eab59b139e8366219b3074f 100755 (executable)
@@ -982,13 +982,13 @@ systemd-analyze security --threshold=90 --offline=true \
                            --security-policy=/tmp/testfile.json \
                            --root=/tmp/img/ testfile.service
 
-# The strict profile adds a lot of sanboxing options
+# The strict profile adds a lot of sandboxing options
 systemd-analyze security --threshold=25 --offline=true \
                            --security-policy=/tmp/testfile.json \
                            --profile=strict \
                            --root=/tmp/img/ testfile.service
 
-# The trusted profile doesn't add any sanboxing options
+# The trusted profile doesn't add any sandboxing options
 (! systemd-analyze security --threshold=25 --offline=true \
                            --security-policy=/tmp/testfile.json \
                            --profile=/usr/lib/systemd/portable/profile/trusted/service.conf \
index 2018a40f3943fc21ded186c93489a299d6ee9020..1c1b948568dd11d0e88e68df6a91da48f10550e3 100755 (executable)
@@ -1346,28 +1346,28 @@ testcase_15_wait_online_dns() {
 }
 
 testcase_delegate() {
-    # Before we install the delegation file the DNS name should be directly resolveable via our DNS server
-    run resolvectl query delegation.excercise.test
+    # Before we install the delegation file the DNS name should be directly resolvable via our DNS server
+    run resolvectl query delegation.exercise.test
     grep -qF "1.2.3.4" "$RUN_OUT"
 
     mkdir -p /run/systemd/dns-delegate.d/
     cat >/run/systemd/dns-delegate.d/testcase.dns-delegate <<EOF
 [Delegate]
 DNS=192.168.77.78
-Domains=excercise.test
+Domains=exercise.test
 EOF
     systemctl reload systemd-resolved
     resolvectl status
 
     # Now that we installed the delegation the resolution should fail, because nothing is listening on that IP address
-    (! resolvectl query delegation.excercise.test)
+    (! resolvectl query delegation.exercise.test)
 
     # Now make that IP address connectible
     ip link add delegate0 type dummy
     ip addr add 192.168.77.78 dev delegate0
 
     # This should work now
-    run resolvectl query delegation.excercise.test
+    run resolvectl query delegation.exercise.test
     grep -qF "1.2.3.4" "$RUN_OUT"
 
     ip link del delegate0
@@ -1376,13 +1376,13 @@ EOF
     systemctl restart systemd-resolved
 
     # Should no longer work
-    (! resolvectl query delegation.excercise.test)
+    (! resolvectl query delegation.exercise.test)
 
     rm /run/systemd/dns-delegate.d/testcase.dns-delegate
     systemctl reload systemd-resolved
 
     # Should work again without delegation in the mix
-    run resolvectl query delegation.excercise.test
+    run resolvectl query delegation.exercise.test
     grep -qF "1.2.3.4" "$RUN_OUT"
 }