1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00
systemd-stable/src/test
2021-10-17 11:56:05 +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: remove khash helpers 2021-10-08 13:11:00 +01: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 license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-af-list.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-alloc-util.c tree-wide: fix typo 2021-05-28 19:52:12 +09:00
test-architecture.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-arphrd-list.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-ask-password-api.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-async.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-barrier.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-bitmap.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
test-blockdev-util.c basic,shared: move a bunch of files to src/shared/ 2021-06-24 10:11:00 +02:00
test-boot-timestamps.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-bpf-devices.c core: remove refcount for bpf program 2021-10-12 12:48:23 +02:00
test-bpf-firewall.c core: remove refcount for bpf program 2021-10-12 12:48:23 +02:00
test-bpf-foreign-programs.c core: remove refcount for bpf program 2021-10-12 12:48:23 +02:00
test-bpf-lsm.c test: add test-bpf-lsm 2021-10-06 10:52:15 +02:00
test-btrfs.c tree-wide: add FORMAT_BYTES() 2021-07-09 11:11:21 +02:00
test-bus-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-calendarspec.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
test-cap-list.c test: use cap_last_cap() for max supported cap number, not capability_list_length() 2020-11-26 13:35:48 +01:00
test-capability.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-cgroup-cpu.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-cgroup-mask.c src/test: add restrict network interfaces to test-cgroup-mask 2021-08-18 15:55:54 -05:00
test-cgroup-setup.c meson: simplify the BUILD_MODE conditional 2021-04-14 16:19:54 +02:00
test-cgroup-unit-default.c systemd-analyze: add --root option for 'verify' verb and allow path parsing 2021-08-10 02:41:12 -07:00
test-cgroup-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-cgroup.c test: skip tests if cgroup isn't mounted 2021-02-25 16:32:04 +09:00
test-chase-symlinks.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-chown-rec.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-clock.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-condition.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-conf-files.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-conf-parser.c shared/conf-parser: allow more than one location of the main config file 2021-02-21 12:22:13 +01:00
test-copy.c xattr-util: merge various getxattr()/listxattr() helpers into getxattr_at_malloc() + listxattr_at_malloc() 2021-10-07 11:49:22 +02:00
test-coredump-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-cpu-set-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09: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 variuos: add missing includes 2021-09-22 12:58:46 +02:00
test-date.c tree-wide: add FORMAT_TIMESTAMP_STYLE() 2021-07-09 11:03:36 +02: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 util: drop DEV_NUM_PATH_MAX and xsprintf_dev_num_path() 2021-06-04 15:51:39 +09:00
test-dlopen-so.c core: make libbpf a dlopen() dependency 2021-05-25 12:59:26 +01: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 license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-ellipsize.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-emergency-action.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-engine.c systemd-analyze: add --root option for 'verify' verb and allow path parsing 2021-08-10 02:41:12 -07:00
test-env-file.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-env-util.c basic/env-util: correctly parse extended vars after non-extended vars (#20941) 2021-10-06 11:55:27 +09:00
test-escape.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-ether-addr-util.c test-ether-addr-util: add a simple test that HW_ADDR_TO_STR works with nesting 2021-07-09 11:03:35 +02:00
test-exec-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-execute.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-exit-status.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-extract-word.c basic/extract-word: add EXTRACT_RETAIN_SEPARATORS flag 2021-06-24 13:41:17 +01:00
test-fd-util.c test: add test for FORMAT_PROC_FD_PATH() 2021-08-19 09:19:23 +02:00
test-fdset.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-fileio.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-firewall-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-format-table.c format-table: allow to explicitly override JSON field names 2021-09-03 14:37:26 +01:00
test-format-util.c macro: Move some macros to macro-fundamental.h 2021-08-11 14:59:46 +02:00
test-fs-util.c basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
test-fstab-util.c shared/fstab-util: teach fstab_filter_options() a mode where all values are returned 2021-03-11 11:25:15 +01:00
test-gcrypt-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-glob-util.c basic/glob-util: add helper to strip the glob part from a glob 2021-06-04 12:21:19 +02:00
test-hash-funcs.c test-hash-funcs: add new file to test that path set ignores dot components 2021-06-24 10:59:45 +02: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 assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-hashmap.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-hexdecoct.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
test-hmac.c basic: add hmac_sha256 implementation 2021-10-08 13:11:00 +01:00
test-hostname-setup.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-hostname-util.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
test-id128.c Add benchmark for sha256 calculations 2021-10-08 13:11:00 +01:00
test-import-util.c test: add simple test for import-util 2021-07-30 16:31:24 +02:00
test-in-addr-prefix-util.c test: add tests for in-addr-prefix-util.c 2021-09-14 20:30:09 +09:00
test-in-addr-util.c test: slightly modernize test-in-addr-util.c 2021-09-14 20:30:09 +09:00
test-install-file.c shared: add generic helper tools for installing files/dir trees 2021-08-17 10:08:48 +02:00
test-install-root.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-install.c install: make UnitFileChangeType enum anonymous 2021-02-17 19:29:24 +01:00
test-io-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-ip-protocol-list.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09: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 license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-journal-importer.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-json.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-kbd-util.c kbd-util: port from nftw() to recurse_dir() 2021-10-07 11:59:23 +02:00
test-libcrypt-util.c fix typo 2021-06-15 14:19:30 +09:00
test-libmount.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-list.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-load-fragment.c systemd-analyze: add --root option for 'verify' verb and allow path parsing 2021-08-10 02:41:12 -07:00
test-local-addresses.c test: add testcases of filtering on dumping addresses 2021-05-25 08:26:00 +09:00
test-locale-util.c basic: split out glyph/emoji related calls from locale-util.[ch] into glyph-util.[ch] 2021-10-05 16:14:37 +02:00
test-log.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-loop-block.c dissect: use DISKSEQ when waiting for block devices 2021-07-28 20:07:01 +01:00
test-loopback.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-macro.c macro: Move ALIGN_TO to macro-fundamental.h and introduce CONST_ALIGN_TO 2021-10-17 11:56:05 +02:00
test-modhex.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-mount-util.c basic,shared: move make_mount_point_inode_*() to shared/ 2021-06-23 10:34:58 +02:00
test-mountpoint-util.c basic,shared: move make_mount_point_inode_*() to shared/ 2021-06-23 10:34:58 +02:00
test-namespace.c tree-wide: port everything over to new sd-id128 compund literal bliss 2021-08-20 11:09:48 +02:00
test-net-naming-scheme.c meson: drop the list of valid net naming schemes 2021-09-28 14:22:37 +02: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 execute: drop DissectImageFlags parameter from namespace_setup() 2021-03-16 14:57:45 +01: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 tree-wide: make format_ifname() or friends return negative errno on failure 2021-09-29 03:37:06 +09:00
test-nss-users.c test-nss-users: add new nss test that resolves users and groups 2021-03-23 14:14:08 +01:00
test-ordered-set.c ordered-set: make ordered_set_put_strdup() allocate OrderedSet object 2021-03-14 00:39:05 +09:00
test-os-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-parse-argument.c test-parse-argument: Include signal.h 2021-05-25 13:53:51 +02:00
test-parse-socket-bind-item.c shared: add parser for SocketBind{Allow|Deny}= 2021-06-30 00:36:26 -07:00
test-parse-util.c parse-util: prefix load average macros with LOAD_AVG_ 2021-09-27 20:34:41 +02:00
test-path-lookup.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-path-util.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
test-path.c systemd-analyze: add --root option for 'verify' verb and allow path parsing 2021-08-10 02:41:12 -07:00
test-percent-util.c util: add some helpers for converting percent/permille/permyriad to parts of 2^32-1 2021-02-18 22:36:34 +01:00
test-pretty-print.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-prioq.c tree-wide: use UINT64_MAX or friends 2021-03-05 07:10:13 +09:00
test-proc-cmdline.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
test-process-util.c test: add test case for {get,set}_oom_score_adjust() 2021-10-04 16:27:10 +02:00
test-procfs-util.c tree-wide: add FORMAT_BYTES() 2021-07-09 11:11:21 +02:00
test-psi-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +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 test: drop log_trace() in test-random-util 2021-05-06 12:46:31 +09:00
test-ratelimit.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-recurse-dir.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-replace-var.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-rlimit-util.c Return -EINVAL from _from_string() functions 2021-02-10 14:46:59 +01:00
test-rm-rf.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-sched-prio.c systemd-analyze: add --root option for 'verify' verb and allow path parsing 2021-08-10 02:41:12 -07:00
test-sd-hwdb.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-sd-path.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-seccomp.c test: Check that "native" architecture is always filtered 2021-09-30 08:06:19 +09:00
test-selinux.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-serialize.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-set-disable-mempool.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-set.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +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 assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-siphash24.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-sizeof.c timesync: fix wrong type for receiving timestamp in nanoseconds 2021-08-20 08:42:13 +09:00
test-sleep.c sleep: use SleepOperation enum everywhere and drop sleep_settings() 2021-05-22 11:00:00 +02:00
test-socket-bind.c systemd-analyze: add --root option for 'verify' verb and allow path parsing 2021-08-10 02:41:12 -07:00
test-socket-netlink.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-socket-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-specifier.c tree-wide: make specifier expansion --root= aware 2021-06-24 22:30:14 +02:00
test-stat-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-static-destruct.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-strbuf.c test: add one more assertion to make Coverty happy 2021-05-09 14:33:59 +09:00
test-string-util.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
test-strip-tab-ansi.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-strv.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-strxcpyx.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-sysctl-util.c test: add test case for sysctl-util.[ch] 2021-09-15 16:32:40 +02:00
test-tables.c sd-device: add sd_device_get_action() + sd_device_get_seqnum() + sd_device_new_from_stat_rdev() 2021-02-18 18:20:56 +01:00
test-terminal-util.c terminal: don't hardcode major number of PTYs 2021-05-19 17:58:01 +02:00
test-time-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-tmpfile-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-tmpfiles.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-tpm2.c test: add simple test for PCR list parsing 2021-05-25 23:40:10 +02:00
test-udev-util.c sd-device: use strjoina() more again in sd_device_new_from_subsystem_sysname() 2021-05-21 17:52:57 +02:00
test-udev.c test: do not try to remove /dev 2021-09-07 14:08:21 +09:00
test-uid-range.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09: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 license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-unit-file.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-unit-name.c tree-wide: make specifier expansion --root= aware 2021-06-24 22:30:14 +02:00
test-unit-serialize.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-user-record.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-user-util.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-utf8.c test-utf8: hide most output by default 2021-05-05 13:59:23 +02:00
test-util.c test: split out macro tests into own test-macro.c 2021-08-20 22:00:48 +02:00
test-varlink.c test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
test-verbs.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-watch-pid.c systemd-analyze: add --root option for 'verify' verb and allow path parsing 2021-08-10 02:41:12 -07:00
test-watchdog.c watchdog: rename watchdog_set_timeout() into watchdog_setup() 2021-09-15 12:14:34 +02:00
test-web-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-xattr-util.c xattr-util: merge various getxattr()/listxattr() helpers into getxattr_at_malloc() + listxattr_at_malloc() 2021-10-07 11:49:22 +02:00
test-xml.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00