Systemd/src/test
Zbigniew Jędrzejewski-Szmek 435ce146ac basic/strbuf: include empty strings in count
Not that it matters much, but it seems cleaner to also count those
inputs, even if they do not consume extra storage space.

The test is extended to include an empty input and counts in the test are
adjusted to include it.
2018-03-26 15:28:03 +02:00
..
generate-sym-test.py
meson.build journal: make the compression threshold tunable 2018-03-20 14:54:07 -07:00
test-acl-util.c test: use NOBODY_USER_NAME instead of hard-coded string "noody" 2017-12-07 17:12:09 +09:00
test-af-list.c tests: add tests for empty string 2017-11-28 20:21:25 +09:00
test-alloc-util.c test-alloc-util: add tests for memdup_suffix0() and greedy_realloc() 2017-11-28 20:33:58 +09:00
test-architecture.c test-architecture: add more tests 2017-11-28 20:34:32 +09:00
test-arphrd-list.c tests: add tests for empty string 2017-11-28 20:21:25 +09:00
test-ask-password-api.c tty-ask-password-agent: don't open terminal multiple times 2018-02-14 00:11:16 +01:00
test-async.c shutdown: unify shutdown.c's and async.c's sync() helper process 2017-12-25 11:48:21 +01:00
test-barrier.c
test-bitmap.c test-bitmap: add tests for bitmap_copy() 2017-11-28 20:34:36 +09:00
test-boot-timestamps.c
test-bpf.c Introduce _cleanup_(manager_freep) 2018-03-11 16:33:57 +01:00
test-btrfs.c
test-calendarspec.c test-calendarspec: add the test case from oss-fuzz 6886 2018-03-15 00:15:15 +01:00
test-cap-list.c test-cap-list: add more tests about capability_set_{from,to}_string() 2017-11-28 22:17:00 +09:00
test-capability.c tree-wide: use EXIT_SUCCESS/EXIT_FAILURE in exit() where we can 2017-12-25 11:48:21 +01:00
test-cgroup-mask.c Make MANAGER_TEST_RUN_MINIMAL just allocate data structures 2018-03-11 16:33:59 +01:00
test-cgroup-util.c test-cgroup-util: bail out when running under mock (#8365) 2018-03-08 00:41:25 +03:00
test-cgroup.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-clock.c
test-condition.c test: fix condition test if there are no controllers 2018-01-05 13:58:32 +01:00
test-conf-files.c
test-conf-parser.c pid1: do not initialize join_controllers by default 2018-02-19 15:18:54 +01:00
test-copy.c fs-util: drop readlink_and_canonicalize() 2018-02-09 16:49:54 +09:00
test-cpu-set-util.c tree-wide: use cpu_set_mfree() 2017-12-06 10:32:38 +09:00
test-daemon.c
test-date.c
test-device-nodes.c
test-dissect-image.c
test-dlopen.c
test-dns-domain.c resolved: fix "in-between" logic when boundaries are equal (#7590) 2017-12-14 14:08:21 +09:00
test-ellipsize.c
test-engine.c Make MANAGER_TEST_RUN_MINIMAL just allocate data structures 2018-03-11 16:33:59 +01:00
test-env-util.c basic/env-util: Allow newlines in values of environment variables 2018-03-16 13:45:03 -07:00
test-escape.c
test-exec-util.c
test-execute.c test-execute: Introduce tests for environment values containing newlines 2018-03-16 16:31:17 -07:00
test-extract-word.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-fd-util.c coccinelle: always use fcntl(fd, FD_DUPFD, 3) instead of dup(fd) 2018-03-20 22:31:14 +01:00
test-fdset.c
test-fileio.c tests: close a leftover file descriptor in `test-fileio` 2018-03-05 22:17:23 +00:00
test-firewall-util.c
test-fs-util.c tree-wide: warn when a directory path already exists but has bad mode/owner/type 2018-03-23 10:26:38 +01:00
test-fstab-util.c
test-gcrypt-util.c test: add a simple smoke test for string_hashsum() 2018-02-05 09:48:38 +01:00
test-glob-util.c basic/glob-util: do not use names with "_" prefix 2018-03-05 09:04:39 +01:00
test-hash.c khash: try to detect broken AF_ALG support in centos kernels 2018-02-26 15:52:16 +01:00
test-hashmap-ordered.awk
test-hashmap-plain.c
test-hashmap.c hash-func: add generic hash_ops implementation for hashing paths 2018-02-12 11:07:55 +01:00
test-helper.c
test-helper.h
test-hexdecoct.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-hostname-util.c test-hostname-util: add assert_se's to make coverity happy 2017-11-28 09:26:14 +01:00
test-hostname.c
test-id128.c khash: try to detect broken AF_ALG support in centos kernels 2018-02-26 15:52:16 +01:00
test-in-addr-util.c
test-install-root.c
test-install.c
test-io-util.c
test-ipcrm.c
test-job-type.c
test-journal-importer.c
test-libudev.c test-libudev: make "-m" equivalent to "--monitor" 2018-03-01 21:50:38 +08:00
test-list.c
test-locale-util.c
test-log.c basic/log: make sure header is printed correctly, add test 2018-02-23 11:13:42 +01:00
test-loopback.c
test-mount-util.c tests: skip the rest of test_mnt_id after getting any error 2018-03-09 14:39:11 +00:00
test-namespace.c
test-netlink-manual.c
test-ns.c core: add new setting TemporaryFileSystem= 2018-02-21 09:17:52 +09:00
test-nss.c
test-parse-util.c Fix format-truncation compile failure by typecasting USB IDs (#8250) 2018-02-22 19:41:30 +01:00
test-path-lookup.c shared/path-lookup: rearrange paths in --global mode to match --user mode 2018-02-09 12:27:34 +01:00
test-path-util.c util-lib: handle empty string in last_path_component 2017-11-30 20:54:31 +01:00
test-path.c Make MANAGER_TEST_RUN_MINIMAL just allocate data structures 2018-03-11 16:33:59 +01:00
test-prioq.c
test-proc-cmdline.c
test-process-util.c unit-file: do not allow bogus IOSchedulingClass values 2018-03-17 09:01:53 +01:00
test-procfs-util.c procfs-util: add APIs to get consumed CPU time and used memory from /proc 2018-02-09 17:32:26 +01:00
test-random-util.c
test-ratelimit.c
test-replace-var.c
test-rlimit-util.c
test-sched-prio.c Make MANAGER_TEST_RUN_MINIMAL just allocate data structures 2018-03-11 16:33:59 +01:00
test-seccomp.c process-util: rework wait_for_terminate_and_warn() to take a flags parameter 2018-01-04 13:27:27 +01:00
test-selinux.c
test-set.c Add set/hashmap helpers for non-trivial freeing and use where straighforward 2017-11-28 21:30:30 +01:00
test-sigbus.c
test-signal-util.c pid1: make use of high rt signals on hppa with newer kernels 2018-03-09 10:35:33 +01:00
test-siphash24.c
test-sizeof.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-sleep.c Introduce suspend-to-hibernate (#8274) 2018-03-08 14:17:33 +01:00
test-socket-util.c test-socket-util: add test for ListenNetlink with spaces 2018-03-18 21:05:43 +01:00
test-specifier.c specifier: add helper for escaping '%' characters to avoid making them subject for expansion 2017-11-29 12:32:56 +01:00
test-stat-util.c util-lib: rename path_check_fstype to path_is_fs_type 2017-11-30 20:43:25 +01:00
test-strbuf.c basic/strbuf: include empty strings in count 2018-03-26 15:28:03 +02:00
test-string-util.c string-util: rework strextend() to optionally inset separators between each appended string 2017-12-05 13:49:12 +01:00
test-strip-tab-ansi.c journalctl: add highlighting for matched substring 2018-01-28 14:50:01 +01:00
test-strv.c test-strv: add a simple test for strv_free_free() 2018-02-13 08:57:31 +01:00
test-strxcpyx.c
test-systemd-tmpfiles.py tests: allow passing more than one argument to test-systemd-tmpfiles.py 2017-12-06 19:30:08 +00:00
test-tables.c
test-terminal-util.c
test-time-util.c util: add new helper in_utc_timezone() 2017-11-20 10:53:26 +01:00
test-tmpfiles.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-udev.c
test-uid-range.c
test-umount.c core/umount: use libmount to enumerate /proc/swaps 2018-03-16 10:12:50 +01:00
test-unaligned.c
test-unit-file.c Introduce _cleanup_(unit_freep) 2018-03-11 16:33:58 +01:00
test-unit-name.c When mangling names, optionally emit a warning (#8400) 2018-03-21 15:26:47 +01:00
test-user-util.c test-user-util: skip most tests for nobody if synthentization is off 2018-02-21 09:57:35 +01:00
test-utf8.c tests: add a simple test for utf8_n_codepoints() 2018-02-19 15:18:54 +01:00
test-util.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-verbs.c
test-watch-pid.c Introduce _cleanup_(manager_freep) 2018-03-11 16:33:57 +01:00
test-watchdog.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-web-util.c
test-xattr-util.c basic/xattr-util: do not cast ssize_t to int 2018-02-26 15:49:18 +01:00
test-xml.c