Systemd/src/test
Lennart Poettering 3cc2aff1ab tree-wide: don't do assignments within if checks
Turn this:

       if ((r = foo()) < 0) { ...

into this:

       r = foo();
       if (r < 0) { ...
2015-09-09 08:20:20 +02:00
..
.gitignore test: generate tests for OrderedHashmap from Hashmap tests 2014-10-23 17:38:02 +02:00
Makefile
test-af-list.c test: add test for static lists 2015-07-31 19:58:27 +02:00
test-architecture.c basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
test-arphrd-list.c test: add test for static lists 2015-07-31 19:58:27 +02:00
test-async.c shared/async: simplify asynchronous_job a bit 2015-02-02 20:31:18 -05:00
test-barrier.c test: disable test-barrier by default 2015-06-18 10:25:08 +02:00
test-bitmap.c bitmap: make bitmap_clear free the bitmap array 2015-07-31 19:08:26 +02:00
test-boot-timestamps.c treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
test-btrfs.c fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
test-calendarspec.c calendarspec: parse 'quarterly' and 'semi-annually' as shortcuts 2014-10-27 18:09:26 +01:00
test-cap-list.c remove unused includes 2015-02-23 23:53:42 +01:00
test-capability.c remove unused includes 2015-02-23 23:53:42 +01:00
test-cgroup-mask.c core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
test-cgroup-util.c tests: Skip test-cgroup-util test_mask_supported() when not running under systemd 2015-09-07 08:09:13 +02:00
test-cgroup.c core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
test-condition.c util: split all hostname related calls into hostname-util.c 2015-05-18 17:10:07 +02:00
test-conf-files.c util: rework rm_rf() logic 2015-04-06 10:57:53 +02:00
test-conf-parser.c tests: add test-conf-parser 2015-05-30 11:19:35 +02:00
test-copy.c fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
test-daemon.c core: allow informing systemd about service status changes with RELOADING=1 and STOPPING=1 sd_notify() messages 2014-08-21 17:24:21 +02:00
test-date.c test-date: don't fail test if log_max_level is higher than LOG_INFO 2014-09-30 23:40:40 +02:00
test-device-nodes.c shared/util: fix off-by-one error in tag_to_udev_node 2013-10-06 18:29:12 -04:00
test-dns-domain.c dns-domain: add call for concatenating two domain names 2015-08-21 12:41:07 +02:00
test-ellipsize.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
test-engine.c tests: Skip tests which need to access /sys/fs/cgroup if that is not available 2015-09-04 16:34:21 +02:00
test-env-replace.c util: remove normalize_env_assignment(), it's unused 2015-04-10 16:23:46 +02:00
test-execute.c core: rename SystemdRunningAs to ManagerRunningAs 2015-05-11 22:51:49 +02:00
test-fdset.c test-fdset: add more tests 2015-05-30 11:19:35 +02:00
test-fileio.c fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
test-firewall-util.c firewall: rename fw-util.[ch] → firewall-util.[ch] 2015-06-15 14:08:02 +02:00
test-fstab-util.c fstab-util: fix priority parsing and add test 2015-01-11 23:41:42 -05:00
test-hashmap-plain.c hashmap: fix iterators to not skip entries 2015-06-14 16:56:02 +02:00
test-hashmap.c hashmap: allow NULL key in ordered_hashmap_next() 2015-06-17 17:28:44 +02:00
test-helper.h replace tabs with spaces in some files 2014-02-21 03:50:12 +01:00
test-hostname-util.c Merge branch 'hostnamectl-dot-v2' 2015-08-05 21:02:41 -04:00
test-hostname.c btrfs: support recursively removing btrfs snapshots 2015-04-06 11:28:16 +02:00
test-id128.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-install.c remove unused includes 2015-02-23 23:53:42 +01:00
test-ipcrm.c logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out 2014-03-14 01:49:44 +01:00
test-job-type.c remove unused includes 2015-02-23 23:53:42 +01:00
test-json.c json: minor style fixes 2015-05-21 23:30:37 +02:00
test-libudev.c test-libudev: fix leak in error case 2015-05-11 21:42:59 +02:00
test-list.c basic: add LIST_INSERT_BEFORE 2015-08-04 03:23:43 -07:00
test-locale-util.c remove unused includes 2015-02-23 23:53:42 +01:00
test-log.c shared: add formats-util.h 2015-04-10 23:54:48 +02:00
test-loopback.c tree-wide: don't do assignments within if checks 2015-09-09 08:20:20 +02:00
test-namespace.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
test-netlink-manual.c test-netlink-manual: typo fix 2015-06-14 13:57:35 +02:00
test-ns.c core: Private*/Protect* options with RootDirectory 2015-05-18 18:47:45 +02:00
test-path-lookup.c core: rename SystemdRunningAs to ManagerRunningAs 2015-05-11 22:51:49 +02:00
test-path-util.c path-util: Fix path_is_mount_point for parent mount points in symlink mode 2015-06-09 16:16:56 +02:00
test-path.c tests: Skip tests which need to access /sys/fs/cgroup if that is not available 2015-09-04 16:34:21 +02:00
test-prioq.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
test-process-util.c basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
test-pty.c treewide: fix typos of let's 2015-07-06 20:09:54 -04:00
test-ratelimit.c tests: add test-ratelimit 2014-06-24 02:40:50 +02:00
test-replace-var.c shared: add API for replacing @FOO@ style variables in strings 2012-11-14 22:21:16 +01:00
test-ring.c remove unused includes 2015-02-23 23:53:42 +01:00
test-sched-prio.c tests: Skip tests which need to access /sys/fs/cgroup if that is not available 2015-09-04 16:34:21 +02:00
test-set.c core: set_put never returns -EEXIST 2015-04-10 17:13:15 +02:00
test-sigbus.c tests: use assert_se instead of assert 2015-01-22 23:10:56 +01:00
test-sleep.c treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
test-socket-util.c test-socket-util: add test for in_addr_is_null() 2015-07-31 19:58:29 +02:00
test-strbuf.c treewide: correct spacing near eol in code comments 2014-12-11 15:10:03 +01:00
test-strip-tab-ansi.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
test-strv.c strv: Add strv_shell_escape 2015-08-07 15:50:43 +00:00
test-strxcpyx.c remove unused includes 2015-02-23 23:53:42 +01:00
test-tables.c remove unused includes 2015-02-23 23:53:42 +01:00
test-terminal-util.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
test-time.c test-time: test "infinity" parsing in nanoseconds 2015-02-24 13:27:10 +01:00
test-tmpfiles.c shared: add formats-util.h 2015-04-10 23:54:48 +02:00
test-udev.c everywhere: port everything to sigprocmask_many() and friends 2015-06-15 20:13:23 +02:00
test-uid-range.c treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1 2014-11-28 20:55:04 +01:00
test-unaligned.c shared: unaligned - use void* instead of unaligned be16_t* 2014-11-05 16:54:22 +01:00
test-unit-file.c load-fragment: reset the list on an ExecStart= containing only whitespace 2015-06-17 11:12:12 -07:00
test-unit-name.c util: split all hostname related calls into hostname-util.c 2015-05-18 17:10:07 +02:00
test-utf8.c test: utf8 - fix utf16 tests on BE machines 2015-02-18 15:23:23 +01:00
test-util.c test: add one more test case for parse_pid() 2015-09-04 09:07:31 +02:00
test-verbs.c test-verbs: add unit tests for verbs minilib 2015-01-08 15:57:38 -05:00
test-watchdog.c remove unused includes 2015-02-23 23:53:42 +01:00
test-xml.c bus: add basic dbus1 policy parser 2014-06-06 19:41:24 +02:00