systemd/test/units
Daan De Meyer 6be4dab095 systemctl: Implement --wait for kill command
TEST-26-SYSTEMCTL is racy as we call systemctl is-active immediately
after systemctl kill. Let's implement --wait for systemctl kill and
use it in TEST-26-SYSTEMCTL to avoid the race.
2024-05-01 09:40:32 +02:00
..
loopy.service.d
unit-.service.d
unit-with-.service.d
unit-with-multiple-.service.d
unit-with-multiple-dashes.service.d
a-conj.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
a.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
autorelabel.service test: drop remaining console output 2023-11-28 04:10:25 +09:00
b.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
basic.target
c.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
d.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
daughter.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
delegated_cgroup_filtering_payload.sh TEST-04-JOURNAL: Make LogFilterPatterns= tests more robust 2024-04-30 18:17:13 +02:00
delegated_cgroup_filtering_payload_child.sh TEST-04-JOURNAL: Make LogFilterPatterns= tests more robust 2024-04-30 18:17:13 +02:00
dml-discard-empty.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
dml-discard-set-ml.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
dml-discard.slice
dml-override-empty.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
dml-override.slice
dml-passthrough-empty.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
dml-passthrough-set-dml.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
dml-passthrough-set-ml.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
dml-passthrough.slice
dml.slice
e.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
end.service test: verify json format passed through varlink 2023-11-28 04:13:44 +09:00
end.sh test: Rework TEST-02-UNITTESTS 2024-04-22 19:37:13 +02:00
f.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
g.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
generator-utils.sh
grandchild.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
h.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
i.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
loopy.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
loopy2.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
loopy3.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
loopy4.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
nomem.slice
nomemleaf.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
parent-deep.slice
parent.slice
sched_idle_bad.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
sched_idle_ok.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
sched_rr_bad.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
sched_rr_change.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
sched_rr_ok.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
shutdown.target
sockets.target
son.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
success-failure-test-failure.service
success-failure-test-success.service
success-failure-test.service
sysinit.target
test-control.sh test: support TEST_MATCH_* stuff in TEST-23-UNIT-FILE as well 2024-02-20 13:31:00 +01:00
testsuite-01.service
testsuite-01.sh test: systemd-update-utmp is optional 2024-02-07 11:00:20 +01:00
testsuite-02.service
testsuite-02.sh test: Rework TEST-02-UNITTESTS 2024-04-22 19:37:13 +02:00
testsuite-03.service
testsuite-03.sh tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-04.bsod.sh test: properly preserve journal from sd-bsod tests 2024-02-16 10:37:37 +01:00
testsuite-04.cat.sh journal/cat: allow connecting output to specific journal namespace 2024-03-14 14:25:53 +08:00
testsuite-04.corrupted-journals.sh test: Install test journals 2024-03-22 15:11:39 +01:00
testsuite-04.fss.sh
testsuite-04.journal-append.sh
testsuite-04.journal-corrupt.sh test: temporarily enable session lingering for the test user 2024-02-19 11:43:54 +01:00
testsuite-04.journal-gatewayd.sh test: make sd-journal-gatewayd tests even more debug-able 2024-04-11 14:42:45 +02:00
testsuite-04.journal-remote.sh test: make sure the dummy CA certificate is marked as such 2023-12-23 13:42:09 +01:00
testsuite-04.journal.sh test: add test cases for journalctl --facility=/--output=help 2024-03-26 04:18:23 +09:00
testsuite-04.LogFilterPatterns.sh TEST-04-JOURNAL: Make LogFilterPatterns= tests more robust 2024-04-30 18:17:13 +02:00
testsuite-04.service
testsuite-04.sh test: don't truncate the final journal 2023-12-23 15:35:08 +01:00
testsuite-04.SYSTEMD_JOURNAL_COMPRESS.sh
testsuite-05.effective-limit.sh test: Add effective cgroup limits testing 2024-01-03 13:37:58 +01:00
testsuite-05.rlimit.sh test: Convert rlimit test to subtest of generic limit testing 2024-01-03 13:37:58 +01:00
testsuite-05.service test: Convert rlimit test to subtest of generic limit testing 2024-01-03 13:37:58 +01:00
testsuite-05.sh test: Convert rlimit test to subtest of generic limit testing 2024-01-03 13:37:58 +01:00
testsuite-06.service
testsuite-06.sh
testsuite-07.aux-scope.sh test: wait until the test binary starts the test aux scope 2024-02-03 02:57:52 +09:00
testsuite-07.exec-context.sh bpf-socket-bind: fix unexpected behavior with either 0 allow or deny rules 2024-03-24 11:08:58 +00:00
testsuite-07.exec-deserialization.sh test: fix typo 2024-01-05 19:08:12 +09:00
testsuite-07.exec-timestamps.sh manager: switch service unit type over to using new handoff timestamping logic 2024-04-25 13:40:41 +02:00
testsuite-07.issue-1981.sh tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-07.issue-2467.sh
testsuite-07.issue-3166.sh
testsuite-07.issue-3171.sh tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-07.issue-14566.sh
testsuite-07.issue-16115.sh
testsuite-07.issue-27953.sh
testsuite-07.issue-30412.sh test: flush the socket once the triggered unit exits 2023-12-24 13:00:56 +01:00
testsuite-07.main-PID-change.sh
testsuite-07.mount-invalid-chars.sh
testsuite-07.poll-limit.sh TEST-07: minor simplification 2024-01-09 11:18:11 +01:00
testsuite-07.pr-31351.sh core/exec-invoke: record correct exit status when failed to locate executable 2024-02-19 23:12:59 +08:00
testsuite-07.private-network.sh
testsuite-07.service
testsuite-07.sh
testsuite-07.socket-pass-fds.sh test: integration test for PassFileDescriptorsToExec= option 2024-03-27 01:41:26 +08:00
testsuite-07.type-exec-parallel.sh test: add integration test for Type=exec robustness 2024-01-19 16:51:55 +01:00
testsuite-08.service
testsuite-08.sh test: Always exit with 77 if we skip a test 2024-04-03 09:14:15 +09:00
testsuite-09.journal.sh TEST-09-REBOOT: Make journalctl grep pattern more specific 2024-04-30 22:10:05 +02:00
testsuite-09.service
testsuite-09.sh test: add test for seqnum and seqnum ID 2023-12-04 15:14:25 +09:00
testsuite-13.importctl.sh test: add integration test for importctl 2024-03-01 22:29:08 +01:00
testsuite-13.machinectl.sh TEST-13-NSPAWN: move disk images to /var/tmp 2024-04-30 22:10:02 +02:00
testsuite-13.nspawn-oci.sh TEST-13-NSPAWN: move disk images to /var/tmp 2024-04-30 22:10:02 +02:00
testsuite-13.nspawn.sh TEST-13-NSPAWN: move disk images to /var/tmp 2024-04-30 22:10:02 +02:00
testsuite-13.nss-mymachines.sh TEST-13-NSPAWN: move disk images to /var/tmp 2024-04-30 22:10:02 +02:00
testsuite-13.service
testsuite-13.sh TEST-13-NSPAWN: Skip on virtiofs 2024-04-30 22:10:05 +02:00
testsuite-15.service
testsuite-15.sh test: Drop /usr overlay workaround 2024-04-30 22:10:05 +02:00
testsuite-16.service
testsuite-16.sh
testsuite-17.00.sh
testsuite-17.01.sh
testsuite-17.02.sh
testsuite-17.03.sh test: use dropin dir 2024-01-12 05:12:44 +09:00
testsuite-17.04.sh
testsuite-17.05.sh
testsuite-17.06.sh test: reset systemd-udevd.service restart counter 2023-12-08 18:14:05 +01:00
testsuite-17.07.sh
testsuite-17.08.sh
testsuite-17.09.sh
testsuite-17.10.sh test: add test for systemd-udev-load-credentials.service 2024-04-16 10:35:13 +09:00
testsuite-17.11.sh
testsuite-17.12.sh
testsuite-17.13.sh
testsuite-17.credentials.sh TEST-17-UDEV: Skip credentials test if service not loaded 2024-04-26 17:22:10 +01:00
testsuite-17.link-property.sh udev: make udevadm test and test-builtin not destructive 2024-03-29 09:33:07 +09:00
testsuite-17.service
testsuite-17.sh
testsuite-18.service
testsuite-18.sh TEST-18-FAILUREACTION: Exit with 123 on success 2024-04-30 22:10:05 +02:00
testsuite-19.cleanup-slice.sh
testsuite-19.delegate.sh test: test that delegation of some newer attrs that shall be delegated work 2023-12-13 10:10:56 +01:00
testsuite-19.ExitType-cgroup.sh
testsuite-19.service
testsuite-19.sh TEST-19-CGROUP: Skip on opensuse 2024-04-26 17:23:53 +01:00
testsuite-21.service
testsuite-21.sh test: avoid starting/stopping unwanted units during fuzzing 2023-12-29 21:26:49 +01:00
testsuite-22.01.sh
testsuite-22.02.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.03.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.04.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.05.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.06.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.07.sh
testsuite-22.08.sh
testsuite-22.09.sh
testsuite-22.10.sh
testsuite-22.11.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.12.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.13.sh
testsuite-22.14.sh
testsuite-22.15.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.16.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.17.sh
testsuite-22.18.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.19.sh TEST-22: add --dry-run calls 2024-02-12 13:34:32 +01:00
testsuite-22.service
testsuite-22.sh
testsuite-23-openfile-child.sh test: merge TEST-77-OPENFILE into TEST-23-UNIT-FILE 2024-04-10 21:49:28 +08:00
testsuite-23-short-lived.sh
testsuite-23.clean-unit.sh tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-23.exec-command-ex.sh
testsuite-23.ExecReload.sh tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-23.ExecStopPost.sh
testsuite-23.JoinsNamespaceOf.sh
testsuite-23.oneshot-restart.sh core/service: allow RestartForceExitStatus= for oneshot services 2024-02-10 21:19:36 +08:00
testsuite-23.openfile.sh test: merge TEST-77-OPENFILE into TEST-23-UNIT-FILE 2024-04-10 21:49:28 +08:00
testsuite-23.percentj-wantedby.sh
testsuite-23.runtime-bind-paths.sh
testsuite-23.RuntimeDirectoryPreserve.sh
testsuite-23.service
testsuite-23.sh
testsuite-23.StandardOutput.sh
testsuite-23.start-stop-no-reload.sh tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-23.statedir.sh
testsuite-23.success-failure.sh
testsuite-23.type-exec.sh
testsuite-23.Upholds.sh
testsuite-23.utmp.sh test: add a test for #31384 2024-02-19 16:45:19 +00:00
testsuite-23.verify-unit-files.sh test: verify our own units (where applicable) 2024-02-20 15:45:50 +01:00
testsuite-23.whoami.sh
testsuite-24.service
testsuite-24.sh cryptenroll: allow to use a public key on a token 2024-02-03 03:00:51 +09:00
testsuite-25.service
testsuite-25.sh Revert "TEST-25-IMPORT: Skip if importctl not installed" 2024-04-30 22:10:05 +02:00
testsuite-26.service
testsuite-26.sh systemctl: Implement --wait for kill command 2024-05-01 09:40:32 +02:00
testsuite-29.service
testsuite-29.sh mkosi: Build minimal images and enable related integration tests 2024-04-25 21:06:30 +02:00
testsuite-30.service
testsuite-30.sh
testsuite-31.service
testsuite-31.sh test: slacken plugged -> dead test 2023-12-13 13:35:04 +00:00
testsuite-32.service
testsuite-32.sh
testsuite-34.service
testsuite-34.sh
testsuite-35.service
testsuite-35.sh TEST-35-LOGIN: Exclude manager entry in testcase_sanity_check() 2024-04-30 22:10:05 +02:00
testsuite-36.service
testsuite-36.sh TEST-36-NUMAPOLICY: Bump PID1 strace time to 3 seconds 2024-04-26 17:25:55 +01:00
testsuite-38-sleep.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-38.service
testsuite-38.sh core: Fail to start/stop/reload unit if frozen 2024-01-30 11:18:16 -05:00
testsuite-43.service
testsuite-43.sh mkosi: Build minimal images and enable related integration tests 2024-04-25 21:06:30 +02:00
testsuite-44.service
testsuite-44.sh test: sync the "foobaz" namespace as well 2024-01-07 05:27:14 +09:00
testsuite-45.service
testsuite-45.sh tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-46.service
testsuite-46.sh TEST-46-HOMED: Check for sshd pam snippet in /usr/lib/pam.d as well 2024-04-30 22:10:05 +02:00
testsuite-50.DDI.sh test: split some overly long lines 2024-04-16 14:25:57 +02:00
testsuite-50.dissect.sh TEST-50-DISSECT: Don't log image contents to console 2024-04-26 13:51:49 +02:00
testsuite-50.mountfsd.sh test: mountnfsd -> mountfsd 2024-04-26 17:14:07 +02:00
testsuite-50.service
testsuite-50.sh mkosi: Build minimal images and enable related integration tests 2024-04-25 21:06:30 +02:00
testsuite-50.sysext.sh TEST-50-DISSECT: Skip mutable sysext tests on virtiofs 2024-04-24 19:30:00 +02:00
testsuite-52.service
testsuite-52.sh
testsuite-53.service
testsuite-53.sh
testsuite-54.service
testsuite-54.sh Merge pull request #32033 from DaanDeMeyer/unit-creds 2024-04-04 18:27:20 +02:00
testsuite-55-testbloat.service
testsuite-55-testchill.service
testsuite-55-testmunch.service
testsuite-55-workload.slice
testsuite-55.service
testsuite-55.sh test: Always exit with 77 if we skip a test 2024-04-03 09:14:15 +09:00
testsuite-58.service
testsuite-58.sh test: Always exit with 77 if we skip a test 2024-04-03 09:14:15 +09:00
testsuite-59.service
testsuite-59.sh core: apply ReloadLimit to reexec too 2024-03-29 12:03:32 +00:00
testsuite-60.service
testsuite-60.sh test: Drop /usr overlay workaround 2024-04-30 22:10:05 +02:00
testsuite-62-1.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-62-2.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-62-3.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-62-4.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-62-5.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-62-6.service core: allow interface altnames in RestrictNetworkInterfaces= 2023-12-18 15:12:10 +01:00
testsuite-62.service
testsuite-62.sh test: use sd-analyze for kernel version check in TEST-62 2024-04-25 13:32:10 +01:00
testsuite-63.service
testsuite-63.sh core: path: Re-enter waiting if target is deactivating 2024-01-21 10:34:45 +00:00
testsuite-64.service
testsuite-64.sh test-64-udev-storage: partition disk inside testcase - testcase_multipath_basic_failover 2024-04-16 17:02:31 +01:00
testsuite-65.service
testsuite-65.sh test: add test cases for systemd-analyze --global 2024-03-26 04:10:04 +09:00
testsuite-66-deviceisolation.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-66.service
testsuite-66.sh
testsuite-67.service
testsuite-67.sh
testsuite-68.service
testsuite-68.sh
testsuite-69.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-70.creds.sh
testsuite-70.cryptenroll.sh cryptenroll: Support rotating PIN on an existing TPM2 enrollment 2024-02-01 13:55:17 +00:00
testsuite-70.cryptsetup.sh
testsuite-70.measure.sh
testsuite-70.pcrextend.sh
testsuite-70.pcrlock.sh ci: update tests to showcase new option a bit 2024-04-18 18:12:24 +02:00
testsuite-70.service
testsuite-70.sh
testsuite-70.tpm2-setup.sh
testsuite-71.service
testsuite-71.sh TEST-71-HOSTNAME: Ignore error from reset-failed 2024-04-30 22:10:05 +02:00
testsuite-72.service
testsuite-72.sh test: Always exit with 77 if we skip a test 2024-04-03 09:14:15 +09:00
testsuite-73.service
testsuite-73.sh test: Drop /usr overlay workaround 2024-04-30 22:10:05 +02:00
testsuite-74.battery-check.sh
testsuite-74.bootctl.sh Merge pull request #31286 from poettering/bootctl-varlink 2024-02-14 18:59:33 +00:00
testsuite-74.busctl.sh
testsuite-74.capsule.sh test: add integration test for capsules 2024-03-14 11:34:04 +01:00
testsuite-74.cgls.sh
testsuite-74.cgtop.sh
testsuite-74.coredump.sh test: bump the container boot timeout when running w/o acceleration 2024-04-02 19:00:24 +02:00
testsuite-74.delta.sh tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
testsuite-74.escape.sh
testsuite-74.firstboot.sh
testsuite-74.id128.sh id128: add --no-pager, --no-legend, --json=/-j switches to systemd-id128 tool 2024-01-11 17:54:19 +01:00
testsuite-74.machine-id-setup.sh
testsuite-74.modules-load.sh
testsuite-74.mount.sh core: create workdir/upperdir when mounting a Type=overlay mount unit 2023-12-08 11:22:14 +09:00
testsuite-74.network-generator.sh test: add test case for network.conf.* credential 2024-04-16 12:45:08 +09:00
testsuite-74.networkctl.sh test: add test case for 'networkctl cat' without arguments 2024-04-16 13:31:14 +09:00
testsuite-74.path.sh
testsuite-74.pstore.sh
testsuite-74.run.sh Rename uid0 to run0 2024-03-19 16:37:22 +01:00
testsuite-74.service
testsuite-74.sh
testsuite-74.socket.sh test: use socat in unidirectional mode 2024-02-27 15:24:23 +00:00
testsuite-74.ssh.sh test74: create ssh empty dir all at the same place 2024-03-01 22:24:32 +01:00
testsuite-74.varlinkctl.sh hostnamed: add simple Varlink API, too 2024-01-09 10:46:25 +01:00
testsuite-74.vpick.sh tests: add integration tests for vpick logic 2024-01-03 19:01:37 +01:00
testsuite-75.service test: drop remaining console output 2023-11-28 04:10:25 +09:00
testsuite-75.sh test: give sd-resolved enough time to timeout 2024-04-09 21:39:46 +02:00
testsuite-76.service
testsuite-76.sh
testsuite-78.service
testsuite-78.sh
testsuite-79.service
testsuite-79.sh
testsuite-80.service test: drop remaining console output 2023-11-28 04:10:25 +09:00
testsuite-80.sh test: drop remaining console output 2023-11-28 04:10:25 +09:00
testsuite-81.debug-generator.sh Add systemd.default_debug_tty= 2024-02-09 11:47:53 +01:00
testsuite-81.environment-d-generator.sh
testsuite-81.fstab-generator.sh TEST-81-GENERATORS: Use SYSTEMD_PROC_CMDLINE more 2024-04-30 10:45:35 +02:00
testsuite-81.getty-generator.sh
testsuite-81.run-generator.sh
testsuite-81.service
testsuite-81.sh
testsuite-81.system-update-generator.sh
testsuite-82.service
testsuite-82.sh TEST-82-SOFTREBOOT: Exit with exit status 123 2024-04-30 22:10:05 +02:00
testsuite-83.service
testsuite-83.sh TEST-83-BTRFS: Skip if root filesystem is not btrfs 2024-04-30 18:17:13 +02:00
testsuite-84.service
testsuite-84.sh
testsuite.target
timers.target
unit-with-multiple-dashes.service tests: use relative paths in ExecStart= and friends 2024-01-09 11:14:16 +01:00
util.sh test: Drop /usr overlay workaround 2024-04-30 22:10:05 +02:00