Systemd/src/test
Lennart Poettering 8b0849e971 core: rework cgroup path parse logic
Various cleanups, be stricter when parsing unit paths.

Most importantly: return the root slice "-.slice" when asked for slice
of paths that contain no slice component.
2015-04-30 00:49:41 +02:00
..
.gitignore test: generate tests for OrderedHashmap from Hashmap tests 2014-10-23 17:38:02 +02:00
Makefile
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 btrfs: add support for recursive btrfs snapshotting 2015-04-06 15:26:59 +02: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 core: rework cgroup path parse logic 2015-04-30 00:49:41 +02: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 rm_rf() logic 2015-04-06 10:57:53 +02:00
test-copy.c util: rework rm_rf() logic 2015-04-06 10:57:53 +02: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 shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
test-engine.c bus: stop using EDEADLOCK 2015-03-13 14:10:39 +01:00
test-env-replace.c util: remove normalize_env_assignment(), it's unused 2015-04-10 16:23:46 +02:00
test-execute.c test: test-path and test-execute only need units in test/ 2015-04-21 19:27:59 +02:00
test-fdset.c tests: add test for fdset_iterate 2014-08-18 18:43:52 +02:00
test-fileio.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02: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 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 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 shared: add formats-util.h 2015-04-10 23:54:48 +02:00
test-loopback.c remove unused includes 2015-02-23 23:53:42 +01:00
test-namespace.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
test-ns.c remove unused includes 2015-02-23 23:53:42 +01:00
test-path-lookup.c util: rework rm_rf() logic 2015-04-06 10:57:53 +02:00
test-path-util.c path-util: make use of "mnt_id" field exported in /proc/self/fdinfo/<fd> to test for mount points 2015-04-23 13:40:54 +02:00
test-path.c test: test-path and test-execute only need units in test/ 2015-04-21 19:27:59 +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 sd-bus: properly handle creds that are known but undefined for a process 2015-04-29 21:45:58 +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 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 remove unused includes 2015-02-23 23:53:42 +01:00
test-socket-util.c test-socket-util: add test for in_addr_to_string 2015-04-08 02:42:50 +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 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-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 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 util: Fix assertion in split() on missing ' 2015-04-23 01:14:07 +02: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 shared: add terminal-util.[ch] 2015-04-11 00:34:02 +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