systemd/test/units
Frantisek Sumsal 32c376a46c test: add missing operators
Without them only the last expression's return value is honored, causing
unexpected CI fails:

[   26.006721] testsuite-04.sh[1191]: + for _ in {0..9}
[   26.007672] testsuite-04.sh[1191]: + setterm --term linux --dump --file /tmp/console.dump
[   26.008871] testsuite-04.sh[1233]: + SYSTEMD_COLORS=256
[   26.009606] testsuite-04.sh[1233]: + /usr/lib/systemd/systemd-bsod
[   26.063296] systemd[1]: session-1.scope: Deactivated successfully.
[   26.124789] testsuite-04.sh[1191]: + grep -aq 'Press any key to exit' /tmp/console.dump
[   26.131509] testsuite-04.sh[1191]: + grep -aq 'Root emergency message' /tmp/console.dump
[   26.137882] testsuite-04.sh[1191]: + grep -aq 'The current boot has failed' /tmp/console.dump
[   26.141650] testsuite-04.sh[1191]: + return 0
[   26.144816] testsuite-04.sh[1191]: + grep -aq 'Scan the QR code' /tmp/console.dump
[   26.153591] testsuite-04.sh[1191]: + at_exit
[   26.154744] testsuite-04.sh[1191]: + local EC=1
[   26.155697] testsuite-04.sh[1191]: + [[ 1 -ne 0 ]]
[   26.156787] testsuite-04.sh[1191]: + [[ -e /tmp/console.dump ]]
[   26.157799] testsuite-04.sh[1191]: + cat /tmp/console.dump
[   26.158858] testsuite-04.sh[1244]:    The current boot has failed!
[   26.159858] testsuite-04.sh[1244]:    Root emergency message

I'm genuinely impressed that this worked at all.
2023-12-19 11:47:17 +09: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
a.service
autorelabel.service test: drop remaining console output 2023-11-28 04:10:25 +09:00
b.service
basic.target
c.service
d.service
daughter.service
delegated_cgroup_filtering_payload.sh
delegated_cgroup_filtering_payload_child.sh
dml-discard-empty.service
dml-discard-set-ml.service
dml-discard.slice
dml-override-empty.service
dml-override.slice
dml-passthrough-empty.service
dml-passthrough-set-dml.service
dml-passthrough-set-ml.service
dml-passthrough.slice
dml.slice
e.service
end.service test: verify json format passed through varlink 2023-11-28 04:13:44 +09:00
end.sh test: verify json format passed through varlink 2023-11-28 04:13:44 +09:00
f.service
g.service
generator-utils.sh
grandchild.service
h.service
i.service
loopy.service
loopy2.service
loopy3.service
loopy4.service
nomem.slice
nomemleaf.service
parent-deep.slice
parent.slice
sched_idle_bad.service
sched_idle_ok.service
sched_rr_bad.service
sched_rr_change.service
sched_rr_ok.service
shutdown.target
sockets.target
son.service
success-failure-test-failure.service
success-failure-test-success.service
success-failure-test.service
sysinit.target
test-control.sh
testsuite-01.service
testsuite-01.sh
testsuite-02.service
testsuite-02.sh test: verify json format passed through varlink 2023-11-28 04:13:44 +09:00
testsuite-03.service
testsuite-03.sh
testsuite-04.bsod.sh test: add missing operators 2023-12-19 11:47:17 +09:00
testsuite-04.corrupted-journals.sh
testsuite-04.fss.sh
testsuite-04.journal-append.sh
testsuite-04.journal-gatewayd.sh journal-gatewayd: add since/until parameters for /entries 2023-12-06 22:22:27 +01:00
testsuite-04.journal-remote.sh test: set correct group for systemd-journal-upload tests 2023-12-05 09:07:14 +01:00
testsuite-04.journal.sh journalctl: don't skip over messages not matching the cursor 2023-12-07 13:31:25 +09:00
testsuite-04.LogFilterPatterns.sh
testsuite-04.service
testsuite-04.sh
testsuite-04.SYSTEMD_JOURNAL_COMPRESS.sh
testsuite-05.service
testsuite-05.sh
testsuite-06.service
testsuite-06.sh
testsuite-07.exec-context.sh test: load the io controller before checking if io.latency exists 2023-12-05 19:58:48 +00:00
testsuite-07.issue-1981.sh
testsuite-07.issue-2467.sh
testsuite-07.issue-3166.sh
testsuite-07.issue-3171.sh
testsuite-07.issue-14566.sh
testsuite-07.issue-16115.sh
testsuite-07.issue-27953.sh
testsuite-07.issue-30412.sh test: "never" is not a valid value for Restart= 2023-12-12 13:36:28 +00:00
testsuite-07.main-PID-change.sh
testsuite-07.mount-invalid-chars.sh
testsuite-07.poll-limit.sh
testsuite-07.private-network.sh
testsuite-07.service
testsuite-07.sh
testsuite-08.service
testsuite-08.sh test: skip TEST-08-INITRD if systemd didn't run in the initrd 2023-12-15 16:51:25 +01:00
testsuite-09.journal.sh
testsuite-09.service
testsuite-09.sh
testsuite-13.machinectl.sh
testsuite-13.nspawn-oci.sh
testsuite-13.nspawn.sh
testsuite-13.nss-mymachines.sh
testsuite-13.service
testsuite-13.sh
testsuite-15.service
testsuite-15.sh test: mount overlayfs over /usr in some tests 2023-12-13 17:55:45 +00:00
testsuite-16.service
testsuite-16.sh
testsuite-17.00.sh
testsuite-17.01.sh
testsuite-17.02.sh
testsuite-17.03.sh test: backup /etc/udev/udev.conf only if it exists 2023-12-08 18:38:41 +01: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
testsuite-17.11.sh
testsuite-17.12.sh
testsuite-17.13.sh
testsuite-17.service
testsuite-17.sh
testsuite-18.service
testsuite-18.sh
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
testsuite-21.service
testsuite-21.sh logind: introduce Sleep() call and action that automatically choose a sleep operation 2023-12-05 22:18:32 +08:00
testsuite-22.01.sh
testsuite-22.02.sh
testsuite-22.03.sh
testsuite-22.04.sh
testsuite-22.05.sh
testsuite-22.06.sh
testsuite-22.07.sh
testsuite-22.08.sh
testsuite-22.09.sh
testsuite-22.10.sh
testsuite-22.11.sh
testsuite-22.12.sh
testsuite-22.13.sh
testsuite-22.14.sh
testsuite-22.15.sh
testsuite-22.16.sh
testsuite-22.17.sh
testsuite-22.service
testsuite-22.sh
testsuite-23-short-lived.sh
testsuite-23.clean-unit.sh
testsuite-23.exec-command-ex.sh
testsuite-23.ExecReload.sh
testsuite-23.ExecStopPost.sh
testsuite-23.JoinsNamespaceOf.sh
testsuite-23.oneshot-restart.sh
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
testsuite-23.statedir.sh
testsuite-23.success-failure.sh
testsuite-23.type-exec.sh
testsuite-23.Upholds.sh
testsuite-23.whoami.sh
testsuite-24.service
testsuite-24.sh cryptsetup: use WantsMountsFor= for key/header when nofail is set 2023-11-29 11:04:59 +00:00
testsuite-25.service
testsuite-25.sh
testsuite-26.service
testsuite-26.sh test: mount overlayfs over /usr in some tests 2023-12-13 17:55:45 +00:00
testsuite-29.service
testsuite-29.sh
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 logind: introduce Sleep() call and action that automatically choose a sleep operation 2023-12-05 22:18:32 +08:00
testsuite-36.service
testsuite-36.sh
testsuite-38-sleep.service
testsuite-38.service
testsuite-38.sh
testsuite-43.service
testsuite-43.sh
testsuite-44.service
testsuite-44.sh
testsuite-45.service
testsuite-45.sh
testsuite-46.service
testsuite-46.sh
testsuite-50.service
testsuite-50.sh test: Add test case for --make-ddi=sysext 2023-12-06 12:18:32 +01:00
testsuite-52.service
testsuite-52.sh
testsuite-53.service
testsuite-53.sh
testsuite-54.service
testsuite-54.sh
testsuite-55-testbloat.service
testsuite-55-testchill.service
testsuite-55-testmunch.service
testsuite-55-workload.slice
testsuite-55.service
testsuite-55.sh
testsuite-58.service
testsuite-58.sh
testsuite-59.service
testsuite-59.sh
testsuite-60.service
testsuite-60.sh test: mount overlayfs over /usr in some tests 2023-12-13 17:55:45 +00:00
testsuite-62-1.service
testsuite-62-2.service
testsuite-62-3.service
testsuite-62-4.service
testsuite-62-5.service
testsuite-62-6.service core: allow interface altnames in RestrictNetworkInterfaces= 2023-12-18 15:12:10 +01:00
testsuite-62.service
testsuite-62.sh core: allow interface altnames in RestrictNetworkInterfaces= 2023-12-18 15:12:10 +01:00
testsuite-63.service
testsuite-63.sh
testsuite-64.service
testsuite-64.sh test: mask mdmonitor when building image 2023-12-13 14:28:03 +09:00
testsuite-65.service
testsuite-65.sh test: Create analyze chroot with --rbind 2023-12-13 13:35:04 +00:00
testsuite-66-deviceisolation.service
testsuite-66.service
testsuite-66.sh
testsuite-67.service
testsuite-67.sh
testsuite-68.service
testsuite-68.sh
testsuite-69.service
testsuite-70.creds.sh
testsuite-70.cryptenroll.sh
testsuite-70.cryptsetup.sh
testsuite-70.measure.sh
testsuite-70.pcrextend.sh
testsuite-70.pcrlock.sh
testsuite-70.service
testsuite-70.sh
testsuite-70.tpm2-setup.sh
testsuite-71.service
testsuite-71.sh
testsuite-72.service
testsuite-72.sh
testsuite-73.service
testsuite-73.sh test: mount overlayfs over /usr in some tests 2023-12-13 17:55:45 +00:00
testsuite-74.battery-check.sh
testsuite-74.bootctl.sh test: add basic coverity tests for bootctl 2023-12-13 14:29:09 +09:00
testsuite-74.busctl.sh
testsuite-74.cgls.sh
testsuite-74.cgtop.sh
testsuite-74.coredump.sh
testsuite-74.delta.sh
testsuite-74.escape.sh
testsuite-74.firstboot.sh
testsuite-74.id128.sh
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.networkctl.sh networkctl: introduce --runtime for editing network config under /run/ 2023-12-02 17:04:57 +08:00
testsuite-74.path.sh
testsuite-74.pstore.sh
testsuite-74.run.sh
testsuite-74.service
testsuite-74.sh
testsuite-74.varlinkctl.sh
testsuite-75.service test: drop remaining console output 2023-11-28 04:10:25 +09:00
testsuite-75.sh test: tell delv to load anchors from /etc/bind.keys explicitly 2023-12-14 23:11:12 +01:00
testsuite-76.service
testsuite-76.sh
testsuite-77-client.sh
testsuite-77-run.sh
testsuite-77-server.socket
testsuite-77-server@.service
testsuite-77.service
testsuite-77.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
testsuite-81.environment-d-generator.sh
testsuite-81.fstab-generator.sh
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 core: relax dependency on RootImage= storage from Requires= to Wants= 2023-12-08 11:16:31 +09:00
testsuite-83.service
testsuite-83.sh
testsuite-84.service
testsuite-84.sh
testsuite.target
timers.target
unit-with-multiple-dashes.service
util.sh test: mount overlayfs over /usr in some tests 2023-12-13 17:55:45 +00:00