Systemd/src/test
Zbigniew Jędrzejewski-Szmek e8e581bf25 Report about syntax errors with metadata
The information about the unit for which files are being parsed
is passed all the way down. This way messages land in the journal
with proper UNIT=... or USER_UNIT=... attribution.

'systemctl status' and 'journalctl -u' not displaying those messages
has been a source of confusion for users, since the journal entry for
a misspelt setting was often logged quite a bit earlier than the
failure to start a unit.

Based-on-a-patch-by: Oleksii Shevchuk <alxchk@gmail.com>
2013-04-17 00:09:16 -04:00
..
Makefile test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-calendarspec.c test: extend calendarspec test a bit 2012-11-23 21:50:51 +01:00
test-cgroup-util.c nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there 2013-04-16 04:41:21 +02:00
test-cgroup.c nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there 2013-04-16 04:41:21 +02:00
test-daemon.c test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-date.c time-util: teach parse_timestamp to parse weekdays 2012-11-23 22:52:46 +01:00
test-efivars.c util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
test-engine.c core: move ManagerRunningAs to shared 2012-09-18 19:53:34 +02:00
test-env-replace.c tests: more tests 2013-02-11 22:22:40 +01:00
test-fileio.c fileio: write proper env var write-out code 2013-04-03 20:12:57 +02:00
test-hostname.c systemctl: automatically turn paths and unescaped unit names into proper unit names 2012-06-22 13:08:48 +02:00
test-id128.c test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-install.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
test-job-type.c test: correct enum misassignment 2012-07-22 23:53:48 +02:00
test-libudev.c use the same email address everywhere 2012-11-12 19:47:43 +01:00
test-log.c log: fix repeated invocation of vsnprintf()/vaprintf() in log_struct() 2012-09-24 23:26:46 +02:00
test-loopback.c test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-ns.c core: reuse the same /tmp, /var/tmp and inaccessible dir 2013-03-15 22:56:40 -04:00
test-path-util.c test-path-util: fix another stupid test failure 2013-03-29 20:30:21 -04:00
test-prioq.c shared: add simple priority queue implementation 2013-03-21 02:54:47 +01:00
test-replace-var.c shared: add API for replacing @FOO@ style variables in strings 2012-11-14 22:21:16 +01:00
test-sched-prio.c tests: skip bus test if bus cannot be opened 2013-03-26 23:50:44 -04:00
test-sleep.c logind: support for hybrid sleep (i.e. suspend+hibernate at the same time) 2012-10-28 00:50:35 +02:00
test-strbuf.c tests: add tests of strxcpyx 2013-02-10 23:06:16 +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 test-strv: do not declare table to be sorted const 2013-04-05 00:31:59 -04:00
test-strxcpyx.c tests: fix size_t in format string 2013-03-26 23:50:44 -04:00
test-time.c util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
test-udev.c use streq instead of strcmp 2013-02-13 18:14:20 +01:00
test-unit-file.c Report about syntax errors with metadata 2013-04-17 00:09:16 -04:00
test-unit-name.c tests: skip bus test if bus cannot be opened 2013-03-26 23:50:44 -04:00
test-util.c util: make generation of profcs PID paths nicer 2013-04-16 14:50:05 +02:00
test-watchdog.c test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00