1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-15 07:24:00 +03:00
systemd/src/test
Thomas Hindoe Paaboel Andersen 96115cdfe0 fix scan-build issues
The static analyzer scan-build had a few issues with analysing
parts of systemd.

gpt-auto-generator.c:
scan-build could not find blkid.h. Whether it should be blkid.h or
blkid/blkid.h seems to depend on the version used. We already use
blkid/blkid.h in udev-builtin-blkid.c so it seems safe to use that
here too.

Makefile.am:
Moved some -D's from CFLAGS to CPPFLAGS. I also simplified them a
bit and got rid of a left over DBUS_CFLAGS.

test-cgroup-mask.c/test-sched-prio.c
A variable was added to store the replaced TEST_DIR. When wrapped
in an assert_se TEST_DIR was not replaced in the logged error.
While not an issue introduced in this patch we might as well fix
it up while we are here.
2013-12-10 22:30:46 +01:00
..
Makefile
test-boot-timestamps.c support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
test-calendarspec.c test: extend calendarspec test a bit 2012-11-23 21:50:51 +01:00
test-cgroup-mask.c fix scan-build issues 2013-12-10 22:30:46 +01:00
test-cgroup-util.c test: cgroup-util - do not fail if cpu controller is not available 2013-12-08 06:36:39 +01:00
test-cgroup.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
test-daemon.c
test-date.c time-util: teach parse_timestamp to parse weekdays 2012-11-23 22:52:46 +01: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 test: test for ellipsize 2013-10-13 17:56:54 -04:00
test-engine.c core: allocate a kdbus bus for each systemd instance, if we can 2013-11-30 03:53:42 +01:00
test-env-replace.c tests: more tests 2013-02-11 22:22:40 +01:00
test-fileio.c Add more tests and fix capability logging 2013-09-19 16:22:59 -05:00
test-hashmap.c hashmap: size hashmap bucket array dynamically 2013-10-01 00:17:21 +02:00
test-helper.h test: Make testing work on systems without or old systemd 2013-08-22 00:52:14 -04: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: Make testing work on systems without or old systemd 2013-08-22 00:52:14 -04:00
test-install.c Get rid of our reimplementation of basename 2013-12-06 21:29:55 -05:00
test-job-type.c test: correct enum misassignment 2012-07-22 23:53:48 +02:00
test-libudev.c trivial coding style clean ups 2013-12-03 22:27:45 +01:00
test-list.c list: make our list macros a bit easier to use by not requring type spec on each invocation 2013-10-14 06:11:19 +02: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-namespace.c service: add the ability for units to join other unit's PrivateNetwork= and PrivateTmp= namespaces 2013-11-27 20:28:48 +01:00
test-ns.c service: add the ability for units to join other unit's PrivateNetwork= and PrivateTmp= namespaces 2013-11-27 20:28:48 +01:00
test-path-util.c Get rid of our reimplementation of basename 2013-12-06 21:29:55 -05:00
test-prioq.c Add set_consume which always takes ownership 2013-04-24 00:25:04 -04: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 fix scan-build issues 2013-12-10 22:30:46 +01:00
test-sleep.c Make test-login and test-sleep output debugging 2013-09-17 16:44:38 -04:00
test-strbuf.c trivial coding style clean ups 2013-12-03 22:27:45 +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: fix handling of trailing whitespace in split_quoted() 2013-11-28 18:42:18 +01:00
test-strxcpyx.c tests: fix size_t in format string 2013-03-26 23:50:44 -04:00
test-tables.c test-tables: allow sparse tables and check mapping for -1 2013-07-16 12:04:31 -04:00
test-time.c util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
test-udev.c trivial coding style clean ups 2013-12-03 22:27:45 +01:00
test-unit-file.c conf-parser: distinguish between multiple sections with the same name 2013-11-25 19:35:44 +01:00
test-unit-name.c core: allocate a kdbus bus for each systemd instance, if we can 2013-11-30 03:53:42 +01:00
test-utf8.c utf8: ascii_filter() is unused, let's remove it 2013-11-07 03:06:37 +01:00
test-util.c macro: add a macro to test whether a value is in a specified list 2013-12-02 23:32:34 +01:00
test-watchdog.c