1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 18:27:04 +03:00
systemd/src/test
Ronny Chevalier fee0a92183 test-unit-name: add more tests
Add more test cases for:
- unit_name_is_instance
- unit_name_to_instance

Add tests for:
- unit_name_template
- unit_name_is_template
2014-12-13 15:12:38 +01: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 tests: add missing unlink 2014-08-18 18:43:48 +02:00
test-barrier.c test-barrier: add checks after the barrier constructor 2014-10-03 04:04:42 +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 shared: add new btrfs-util.[ch] helpers for doing common btrfs operation 2014-12-12 13:35:32 +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 test-cap-list: always check libcap comes to the same names as we do, for the names it knows 2014-12-12 18:42:19 +01:00
test-capability.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
test-cgroup-mask.c test: only use assert_se 2014-10-04 23:55:35 +02:00
test-cgroup-util.c treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1 2014-11-28 20:55:04 +01:00
test-cgroup.c test: only use assert_se 2014-10-04 23:55:35 +02:00
test-condition.c test-condition: add more test cases 2014-12-11 18:32:57 +01:00
test-conf-files.c treewide: convert some left-over (usec_t) -1 to USEC_INFINITY 2014-11-28 20:55:04 +01:00
test-copy.c copy: use btrfs reflinking only whe we know we copy full files 2014-12-12 17:30:25 +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
test-ellipsize.c
test-engine.c Make bus errno mappings non-static 2014-10-31 11:32:00 -04:00
test-env-replace.c
test-execute.c test-execute: add tests for UMask directive 2014-12-11 18:32:57 +01:00
test-fdset.c tests: add test for fdset_iterate 2014-08-18 18:43:52 +02:00
test-fileio.c copy: teach copy_bytes() sendfile() support, and then replace sendfile_full() by it 2014-11-07 01:19:56 +01:00
test-hashmap-plain.c test: hashmap-plain - make coverity happy 2014-11-05 16:54:22 +01:00
test-hashmap.c test: generate tests for OrderedHashmap from Hashmap tests 2014-10-23 17:38:02 +02:00
test-helper.h
test-hostname.c treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
test-id128.c
test-install.c test: only use assert_se 2014-10-04 23:55:35 +02:00
test-ipcrm.c
test-job-type.c test: only use assert_se 2014-10-04 23:55:35 +02:00
test-libudev.c udev: switch to systemd logging functions 2014-11-13 13:12:57 +01:00
test-list.c
test-locale-util.c tests: add test-locale-util 2014-10-31 10:57:21 +01:00
test-log.c
test-loopback.c
test-namespace.c
test-ns.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
test-path-util.c test-path-util: fix a leak 2014-12-04 00:13:10 +01:00
test-path.c manager: allow test run to catch SIGCHLD events 2014-11-13 10:39:51 +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 tree-wide: use our memset() macros instead of memset() itself 2014-12-11 16:58:45 +01:00
test-ratelimit.c
test-replace-var.c
test-ring.c tree-wide: use our memset() macros instead of memset() itself 2014-12-11 16:58:45 +01:00
test-rtnl-manual.c
test-sched-prio.c tests: fix some tests to pass in koji 2014-10-12 17:31:02 -04:00
test-set.c test: only use assert_se 2014-10-04 23:55:35 +02:00
test-sleep.c
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
test-strv.c test-strv: add test for strv_equal 2014-12-11 18:32:57 +01:00
test-strxcpyx.c test: only use assert_se 2014-10-04 23:55:35 +02:00
test-tables.c shared: rename condition-util.[ch] to condition.[ch] 2014-11-06 14:21:11 +01:00
test-time.c Do not format USEC_INFINITY as NULL 2014-09-29 11:09:39 -04:00
test-tmpfiles.c test: only use assert_se 2014-10-04 23:55:35 +02:00
test-udev.c udev: support ENV{}=="" global property matches 2014-11-13 20:35:06 +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 test: support empty environment variables in unit files 2014-11-23 16:29:11 -05:00
test-unit-name.c test-unit-name: add more tests 2014-12-13 15:12:38 +01:00
test-utf8.c utf8: when escaping unprintable unichars, escape the whole unichar, not just the first byte of it 2014-12-04 02:27:14 +01:00
test-util.c util: when using basename() for creating temporary files, verify the resulting name is actually valid 2014-12-12 13:35:32 +01:00
test-watchdog.c treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
test-xml.c