From: Yu Watanabe Date: Tue, 19 Aug 2025 21:30:16 +0000 (+0900) Subject: test: fix typo X-Git-Tag: v257.9~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aaee7929e04fc597431f1734d073f476dfd14edf;p=thirdparty%2Fsystemd.git test: fix typo (cherry picked from commit 045227426e29e92a5d9b682b399c216a529a0d18) --- diff --git a/src/test/test-install-root.c b/src/test/test-install-root.c index 090407b8e37..6b435d177cb 100644 --- a/src/test/test-install-root.c +++ b/src/test/test-install-root.c @@ -1199,7 +1199,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); diff --git a/test/integration-tests/TEST-16-EXTEND-TIMEOUT/TEST-16-EXTEND-TIMEOUT.units/fail-stop.service b/test/integration-tests/TEST-16-EXTEND-TIMEOUT/TEST-16-EXTEND-TIMEOUT.units/fail-stop.service index 4293d7e8bdc..6d66731f858 100644 --- a/test/integration-tests/TEST-16-EXTEND-TIMEOUT/TEST-16-EXTEND-TIMEOUT.units/fail-stop.service +++ b/test/integration-tests/TEST-16-EXTEND-TIMEOUT/TEST-16-EXTEND-TIMEOUT.units/fail-stop.service @@ -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' diff --git a/test/units/TEST-10-MOUNT.sh b/test/units/TEST-10-MOUNT.sh index b4c867918f3..72c2ccfba25 100755 --- a/test/units/TEST-10-MOUNT.sh +++ b/test/units/TEST-10-MOUNT.sh @@ -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" diff --git a/test/units/TEST-15-DROPIN.sh b/test/units/TEST-15-DROPIN.sh index 5e4df52a4e4..c036bdbd6b5 100755 --- a/test/units/TEST-15-DROPIN.sh +++ b/test/units/TEST-15-DROPIN.sh @@ -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 diff --git a/test/units/TEST-65-ANALYZE.sh b/test/units/TEST-65-ANALYZE.sh index 2fa368a6788..eee8858f209 100755 --- a/test/units/TEST-65-ANALYZE.sh +++ b/test/units/TEST-65-ANALYZE.sh @@ -882,13 +882,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 \