Systemd/src/test
Harald Hoyer a7f7d1bde4 fix gcc warnings about uninitialized variables
like:

src/shared/install.c: In function ‘unit_file_lookup_state’:
src/shared/install.c:1861:16: warning: ‘r’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
         return r < 0 ? r : state;
                ^
src/shared/install.c:1796:13: note: ‘r’ was declared here
         int r;
             ^
2015-03-27 14:57:38 +01:00
..
.gitignore test: generate tests for OrderedHashmap from Hashmap tests 2014-10-23 17:38:02 +02:00
Makefile test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-architecture.c condition: properly allow passing back errors from condition checks 2014-11-06 14:21:10 +01:00
test-async.c shared/async: simplify asynchronous_job a bit 2015-02-02 20:31:18 -05:00
test-barrier.c remove unused includes 2015-02-23 23:53:42 +01: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 shared: the btrfs quota field is called "referenced" not "referred" 2015-03-10 15:55:58 +01: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 remove unused includes 2015-02-23 23:53:42 +01:00
test-cgroup-util.c remove unused includes 2015-02-23 23:53:42 +01:00
test-cgroup.c remove unused includes 2015-02-23 23:53:42 +01:00
test-condition.c test-condition: add more test cases 2014-12-11 18:32:57 +01:00
test-conf-files.c util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
test-copy.c util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01: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-ellipsize.c remove unused includes 2015-02-23 23:53:42 +01:00
test-engine.c bus: stop using EDEADLOCK 2015-03-13 14:10:39 +01:00
test-env-replace.c remove unused includes 2015-02-23 23:53:42 +01:00
test-execute.c remove unused includes 2015-02-23 23:53:42 +01:00
test-fdset.c tests: add test for fdset_iterate 2014-08-18 18:43:52 +02:00
test-fileio.c env-util: don't include files from src/core/ 2014-12-23 19:15:27 +01:00
test-fstab-util.c fstab-util: fix priority parsing and add test 2015-01-11 23:41:42 -05:00
test-fw-util.c shared: add minimal firewall manipulation helpers for establishing NAT rules, using libiptc 2015-01-13 13:55:15 +01:00
test-hashmap-plain.c test: hashmap_put behaviour for equal keys 2015-01-14 08:05:16 +01:00
test-hashmap.c test-hashmap: fix gcc5 warning 2015-02-24 16:26:30 +01:00
test-helper.h replace tabs with spaces in some files 2014-02-21 03:50:12 +01:00
test-hostname.c remove unused includes 2015-02-23 23:53:42 +01: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 remove unused includes 2015-02-23 23:53:42 +01:00
test-libudev.c remove unused includes 2015-02-23 23:53:42 +01:00
test-list.c test: duplicate LIST_FOREACH_OTHERS test to check for corner cases of end and start of list 2015-01-28 14:22:13 +01:00
test-locale-util.c remove unused includes 2015-02-23 23:53:42 +01:00
test-log.c Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02:00
test-loopback.c remove unused includes 2015-02-23 23:53:42 +01:00
test-namespace.c util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
test-ns.c remove unused includes 2015-02-23 23:53:42 +01:00
test-path-lookup.c remove unused includes 2015-02-23 23:53:42 +01:00
test-path-util.c shared: add path_compare(), an ordering path comparison 2015-03-16 22:01:41 +01:00
test-path.c fix gcc warnings about uninitialized variables 2015-03-27 14:57:38 +01:00
test-prioq.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
test-pty.c fix gcc warnings about uninitialized variables 2015-03-27 14:57:38 +01: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-rtnl-manual.c remove unused includes 2015-02-23 23:53:42 +01:00
test-sched-prio.c tests: fix some tests to pass in koji 2014-10-12 17:31:02 -04:00
test-set.c remove unused includes 2015-02-23 23:53:42 +01:00
test-sigbus.c tests: use assert_se instead of assert 2015-01-22 23:10:56 +01:00
test-sleep.c remove unused includes 2015-02-23 23:53:42 +01:00
test-socket-util.c treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01: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 journalctl: strip TABs and ANSI color sequences from log messages when displaying them 2012-12-23 11:28:14 +01:00
test-strv.c util: rework word parsing and c unescaping code 2015-03-26 11:56:22 +01: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-time.c test-time: test "infinity" parsing in nanoseconds 2015-02-24 13:27:10 +01:00
test-tmpfiles.c remove unused includes 2015-02-23 23:53:42 +01:00
test-udev.c libudev: private - introduce udev_device_new_from_synthetic_event() 2015-03-18 14:49:20 +01: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 remove unused includes 2015-02-23 23:53:42 +01:00
test-unit-name.c remove unused includes 2015-02-23 23:53:42 +01:00
test-utf8.c test: utf8 - fix utf16 tests on BE machines 2015-02-18 15:23:23 +01:00
test-util.c util: rework word parsing and c unescaping code 2015-03-26 11:56:22 +01: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