1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00
systemd/src/test
2022-05-12 17:15:51 +02:00
..
generate-sym-test.py Stop using f-strings in generate-sym-test.py 2021-02-22 22:43:00 +01:00
meson.build basic: move compress.[ch] → src/basic/ 2022-04-26 21:45:03 +02:00
nss-test-util.c tree-wide: voidify unchecked snprintf calls 2021-08-20 18:29:40 +01:00
nss-test-util.h test-nss-users: add new nss test that resolves users and groups 2021-03-23 14:14:08 +01:00
test-acl-util.c test: Convert to TEST/TEST_RET macros 2021-11-28 11:46:26 +01:00
test-af-list.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-alloc-util.c tree-wide: add a space after if, switch, for, and while 2022-04-01 22:48:42 +09:00
test-architecture.c tree-wide: use 'Architecture' type consistently across the tree 2022-04-05 02:19:37 +09:00
test-arphrd-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-ask-password-api.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-async.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-barrier.c virt: make virtualization enum a named type 2022-04-04 11:36:26 +02:00
test-bitmap.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
test-blockdev-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-boot-timestamps.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-bootspec.c bootspec: normalize function names/parameter lists 2022-03-28 16:02:15 +02:00
test-bpf-devices.c strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
test-bpf-firewall.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-bpf-foreign-programs.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-bpf-lsm.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-btrfs.c tree-wide: add FORMAT_BYTES() 2021-07-09 11:11:21 +02:00
test-bus-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-calendarspec.c calendarspec: fix possibly skips next elapse 2022-04-07 17:44:35 +02:00
test-cap-list.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-capability.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-cgroup-cpu.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-cgroup-mask.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-cgroup-setup.c test: allow to set NULL to intro or outro 2022-02-02 11:06:54 +00:00
test-cgroup-unit-default.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-cgroup-util.c cgroup-util: Move macros to macros and tests to tests 2022-01-10 18:22:41 +01:00
test-cgroup.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-chase-symlinks.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-chown-rec.c test: allow to set NULL to intro or outro 2022-02-02 11:06:54 +00:00
test-clock.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-compress-benchmark.c basic: move compress.[ch] → src/basic/ 2022-04-26 21:45:03 +02:00
test-compress.c basic: move compress.[ch] → src/basic/ 2022-04-26 21:45:03 +02:00
test-condition.c tree-wide: use 'Architecture' type consistently across the tree 2022-04-05 02:19:37 +09:00
test-conf-files.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-conf-parser.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-copy.c test-copy: use non-0 data block in copy_holes 2022-03-29 21:10:43 +02:00
test-coredump-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-cpu-set-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-cryptolib.c port string_hashsum from libgcrypt to openssl^gcrypt 2021-12-01 12:36:57 +01:00
test-daemon.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-data-fd-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-date.c time-util: support parsing OUTPUT_SHORT and OUTPUT_SHORT_PRECISE timestamps 2022-03-12 17:18:08 +00:00
test-dev-setup.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-device-nodes.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-devnum-util.c devnum-util: define helper macros for formatting devnum major/minor pairs 2022-04-13 16:26:31 +02:00
test-dlopen-so.c shared: Add more dlopen() tests 2022-03-01 21:07:17 +00:00
test-dlopen.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-dns-domain.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-ellipsize.c strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
test-emergency-action.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-engine.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-env-file.c basic/env-file: make load-env-file deduplicate entries with the same key 2022-03-29 16:17:56 +02:00
test-env-util.c strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
test-errno-list.c test: add test for errno-list.[ch] 2021-12-22 15:29:55 +09:00
test-escape.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-ether-addr-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-exec-util.c strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
test-execute.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-exit-status.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-extract-word.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-fd-util.c tree-wide: fix typo 2021-11-30 12:30:07 +00:00
test-fdset.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-fileio.c systemctl: fix silent failure when --root is not found 2022-03-29 16:17:56 +02:00
test-firewall-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-format-table.c test: extend format-table tests with negative numbers 2022-03-13 21:03:08 +01:00
test-format-util.c macro: handle DECIMAL_STR_MAX() special cases more accurately 2022-03-14 18:18:24 +01:00
test-fs-util.c fs-util: make sure openat_report_new() initializes return param also on shortcut 2022-03-23 11:38:08 +09:00
test-fstab-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-glob-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-gpt.c tree-wide: use 'Architecture' type consistently across the tree 2022-04-05 02:19:37 +09:00
test-hash-funcs.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-hashmap-ordered.awk tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
test-hashmap-plain.c test: Use TEST macro in more cases 2021-11-25 15:03:10 +01:00
test-hashmap.c test: allow to set NULL to intro or outro 2022-02-02 11:06:54 +00:00
test-hexdecoct.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-hmac.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-hostname-setup.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-hostname-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-id128.c sd128: export sd_id128_to_uuid_string() 2022-02-14 15:13:23 +01:00
test-import-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-in-addr-prefix-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-in-addr-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-install-file.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-install-root.c Revert "shared/install: create relative symlinks for enablement and aliasing" 2022-05-05 19:02:26 +02:00
test-install.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-io-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-ip-protocol-list.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-ipcrm.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-job-type.c test-job-type: modernize code a bit 2022-01-03 19:18:55 +01:00
test-journal-importer.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-json.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-kbd-util.c strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
test-libcrypt-util.c strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
test-libmount.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-list.c list: declare iterator of LIST_FOREACH() in the loop 2022-03-19 08:10:29 +09:00
test-load-fragment.c core: command argument can be longer than PATH_MAX 2022-04-06 00:39:06 +09:00
test-local-addresses.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-locale-util.c udevadm: add new --tree mode to "udevadm info" 2022-04-13 14:41:05 +02:00
test-log.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-loop-block.c tree-wide: take BSD lock on loopback devices we dissect/mount/operate on 2022-04-10 22:52:29 +09:00
test-loopback.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-macro.c Add saturate_add() that generalizes size_add() 2022-05-12 17:15:51 +02:00
test-manager.c Add new test-manager.c and "test" manager_taint_string() 2022-04-06 15:26:05 +02:00
test-mkdir.c test: add a test for mkdir_p() 2022-02-02 15:09:45 +09:00
test-modhex.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-mount-util.c strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
test-mountpoint-util.c tree-wide: move unsigned to the start of type declaration 2022-02-10 21:00:22 +01:00
test-namespace.c core: support ExtensionDirectories in user manager 2022-03-10 20:38:10 +00:00
test-net-naming-scheme.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-netlink-manual.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-ns.c core: support ExtensionDirectories in user manager 2022-03-10 20:38:10 +00:00
test-nscd-flush.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-nss-hosts.c test: do not accept IPv6 local address if IPv6 is disabled 2022-04-23 04:19:49 +09:00
test-nss-users.c strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
test-ordered-set.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-os-util.c systemctl: fix silent failure when --root is not found 2022-03-29 16:17:56 +02:00
test-parse-argument.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-parse-helpers.c Merge parse-socket-bind-item.? into parse-helpers.? 2022-04-07 18:25:55 +02:00
test-parse-util.c basic: split out dev_t related calls into new devno-util.[ch] 2022-04-13 16:26:31 +02:00
test-path-lookup.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-path-util.c Move systemd_installation_has_version() to src/nspawn/ 2022-04-07 18:17:20 +02:00
test-path.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-percent-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-pretty-print.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-prioq.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-proc-cmdline.c test: allow to set NULL to intro or outro 2022-02-02 11:06:54 +00:00
test-process-util.c test: allow to set NULL to intro or outro 2022-02-02 11:06:54 +00:00
test-procfs-util.c test: refactor test-procfs-util for clarity and skip test on perm failure 2021-11-08 08:37:08 +01:00
test-psi-util.c test: fix file descriptor leak in test-psi-util 2022-02-23 00:58:16 +09:00
test-qrcode-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-random-util.c random-util: remove RDRAND usage 2022-03-14 19:47:13 +00:00
test-ratelimit.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-recurse-dir.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-replace-var.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-rlimit-util.c test: Use TEST macro in more cases 2021-11-25 15:03:10 +01:00
test-rm-rf.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-sched-prio.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-sd-hwdb.c test: allow to set NULL to intro or outro 2022-02-02 11:06:54 +00:00
test-sd-path.c strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
test-seccomp.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-selinux.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-serialize.c test: allow to set NULL to intro or outro 2022-02-02 11:06:54 +00:00
test-set-disable-mempool.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-set.c set: introduce set_fnmatch() 2022-04-27 16:32:15 +09:00
test-sigbus.c journald: Retry if posix_fallocate returned -1 (EINTR) 2021-04-21 23:08:35 +02:00
test-signal-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-siphash24.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-sizeof.c tree-wide: move unsigned to the start of type declaration 2022-02-10 21:00:22 +01:00
test-sleep.c test: allow to set NULL to intro or outro 2022-02-02 11:06:54 +00:00
test-socket-bind.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-socket-netlink.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-socket-util.c tests: add helper for creating tempfiles with content 2022-03-29 16:17:56 +02:00
test-specifier.c specifier: use %q for pretty hostname 2022-04-08 22:18:28 +02:00
test-stat-util.c stat-util: fix dir_is_empty() with hidden/backup files 2022-05-04 13:29:14 +02:00
test-static-destruct.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-strbuf.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-string-util.c string-util: introduce strspn_from_end() 2022-04-20 02:15:01 +09:00
test-strip-tab-ansi.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-strv.c basic/strv: fix splitting of strings with escape characters 2022-05-06 18:26:30 +02:00
test-strxcpyx.c test: add tests for strnpcpy_full() and friends 2021-12-25 15:12:46 +09:00
test-sysctl-util.c strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
test-tables.c compress: make Compression a regular non-sparse enum 2022-04-26 21:55:49 +02:00
test-terminal-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-time-util.c time-util: assume CLOCK_BOOTTIME always exists 2022-03-28 16:55:41 +02:00
test-tmpfile-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-tmpfiles.c test: fix file descriptor leak in test-tmpfiles.c 2022-02-23 00:58:16 +09:00
test-tpm2.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-udev-util.c test: Use TEST macro in more cases 2021-11-25 15:03:10 +01:00
test-udev.c sd-device: drop device_new_from_synthetic_event() from libsystemd 2022-02-02 20:34:38 +09:00
test-uid-alloc-range.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-uid-range.c uid-range: replace uid_range_contains() by more generalized uid_range_covers() 2022-04-01 11:20:12 +02:00
test-umask-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-unaligned.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-unit-file.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-unit-name.c Merge pull request #22759 from msekletar/issue-18077-long-sysfs-paths-hashing 2022-04-13 22:21:38 +02:00
test-unit-serialize.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-user-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-utf8.c strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
test-util.c basic/util: add macro variants of log2 functions 2021-11-29 11:12:52 +01:00
test-varlink.c json: add new JSON_BUILD_CONST_STRING() macro 2021-11-25 14:22:31 +01:00
test-verbs.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-watch-pid.c Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test-watchdog.c test-watchdog: set timeout to 2 seconds by default 2022-01-06 14:12:33 -05:00
test-web-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-xattr-util.c test: Use TEST macro 2021-11-25 15:03:06 +01:00
test-xml.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00