systemd/tools
Frantisek Sumsal 5083e42765 test: verify our own units (where applicable)
This is inspired by one of our internal tests that does pretty much the
same thing. However, it is slightly more convoluted than I'd like it to
be, since I really don't want to duplicate the list of our units in
another place, so we need to, somehow, pass the list from the meson file
to the test script. I originally envisioned this to be a part of the
unit test suite, but this doesn't work for unit files with absolute
paths to binaries, as we'd have to install the build first (maybe using
a chroot would work?).

It doesn't check man pages (since they might not be installed on the
test machine) and also skip recursive dependencies (as that would trip
over issues in files that are not under our direct control), but it
should still cover typos and such.

There are currently two units for which the check had to be disabled -
syslog.socket, as the corresponding syslog.service might not be
installed, and rc-local.service as that's a compat API and the necessary
/etc/rc.d/rc.local file may not (and most likely won't be) present.
2024-02-20 15:45:50 +01:00
..
chromiumos Update hwdb autosuspend rules 2023-11-01 14:07:54 +00:00
add-git-hook.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
analyze-dump-sort.py tools: pylint analyze-dump-sort.py 2023-08-10 18:13:29 +02:00
catalog-report.py tools: pylint catalog-report.py 2023-08-10 11:08:17 +02:00
check-api-docs.sh Change all fixed-path bash shebangs to /u/b/env bash outside test/ 2021-12-12 21:13:50 +01:00
check-help.sh test/check-help: check that --help and -h are identical 2022-04-05 22:18:31 +02:00
check-includes.py tools: pylint check-includes.py 2023-08-10 11:08:17 +02:00
check-version-history.py man: add checks for missing version information 2023-10-01 11:54:29 +01:00
check-version.sh tests: add a smoke test for --version option in binaries 2022-04-05 22:18:31 +02:00
command_ignorelist tmpfiles: split out verbs in help 2024-02-09 17:57:41 +01:00
coverity.sh ci: simplify the Coverity script a bit 2022-08-11 10:57:25 +02:00
dbus_exporter.py tools: pylint dbus_exporter.py 2023-08-10 11:08:17 +02:00
dbus_ignorelist man: suffix signals with () 2024-01-23 16:27:50 +01:00
debug-sd-boot.sh boot: Fix debug experience 2023-03-10 11:41:08 +01:00
dump-auxv.py tools: pylint dump-auxv.py 2023-08-10 18:13:29 +02:00
elf2efi.py elf2efi: remove outdated comment mentioning linker script 2023-12-10 12:50:14 +00:00
find-build-dir.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
find-double-newline.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
find-tabs.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
function_ignorelist man: add checks for missing version information 2023-10-01 11:54:29 +01:00
gdb-sd_dump_hashmaps.py tools: pylint gdb-sd_dump_hashmaps.py 2023-08-10 18:13:29 +02:00
generate-gperfs.py tools: pylint generate-gperfs.py 2023-08-10 18:13:29 +02:00
git-contrib.sh contrib: include co-authors to the contributor list of NEWS 2023-11-30 09:57:49 +00:00
list-discoverable-partitions.py tools: pylint list-discoverable-partitions.py 2023-08-10 18:13:29 +02:00
make-autosuspend-rules.py tools: pylint make-autosuspend-rules.py 2023-08-10 18:13:29 +02:00
make-directive-index.py tools: pylint make-directive-index.py 2023-08-10 18:13:29 +02:00
make-man-index.py man: make ID valid 2023-12-25 10:40:40 +01:00
meson-build.sh fuzz: don't panic without a C++ compiler 2023-11-15 12:07:42 +00:00
meson-extract-unit-files.py test: verify our own units (where applicable) 2024-02-20 15:45:50 +01:00
meson-render-jinja2.py tools: pylint meson-render-jinja2.py 2023-08-10 18:13:29 +02:00
meson-vcs-tag.sh meson-vcs-tag: Say version format specification 2024-02-14 19:58:19 +01:00
oss-fuzz.sh meson: Drop skip-deps option 2023-08-23 14:57:49 +02:00
sync-docs.py doc-sync: add support for uploading the documentation for main 2023-10-10 17:50:04 +01:00
update-dbus-docs.py man: suffix signals with () 2024-01-23 16:27:50 +01:00
update-hwdb-autosuspend.sh tools: update-hwdb-autosuspend.sh: Point at HEAD, not master branch 2023-08-16 02:07:00 +01:00
update-hwdb.sh hwdb: rename .html=>.csv 2023-11-15 15:21:26 +01:00
update-man-rules.py update-man-rules: skip over standard-conf.xml 2024-01-04 15:02:28 +01:00
update-syscall-tables.sh tools: syscall tables moved to a subdirectory 2023-11-01 14:07:54 +00:00
xml_helper.py tools: pylint xml_helper.py 2023-08-10 18:13:29 +02:00