Systemd/src/test
Thomas Hindoe Paaboel Andersen cca0efb047 test: silence a coverity report
We check the actual contents of the file on the line after but we
might as well also check the number of bytes read here.

Found by coverity. Fixes: CID#1237521
2014-09-16 22:02:23 +02:00
..
Makefile test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-architecture.c test: print library tuple in test 2014-07-03 15:50:57 +02:00
test-async.c tests: add missing unlink 2014-08-18 18:43:48 +02:00
test-barrier.c barrier: fix race in test-code 2014-07-29 19:19:49 +02:00
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-capability.c tests: add test-capability 2014-06-22 00:36:19 +02:00
test-cgroup-mask.c test-cgroup-mask: fix masks in test and enable by default 2014-07-20 19:48:16 -04:00
test-cgroup-util.c cgroup-util: shorten cg_path_get_session 2014-08-30 17:41:32 -04:00
test-cgroup.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
test-condition-util.c tests: add test-condition-util 2014-08-18 18:43:58 +02:00
test-conf-files.c test: ensure conf_files_list returns absolute paths 2014-06-20 00:10:47 -04: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 time: support @ syntax for denoting times since the UNIX epoch 1970-1-1 2014-03-25 04:08:16 +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 test-engine: fix access to unit load path 2014-07-20 19:48:16 -04:00
test-env-replace.c tests: more tests 2013-02-11 22:22:40 +01:00
test-fdset.c tests: add test for fdset_iterate 2014-08-18 18:43:52 +02:00
test-fileio.c test: silence a coverity report 2014-09-16 22:02:23 +02:00
test-hashmap.c hashmap, set: remove unused functions 2014-09-15 16:08:50 +02:00
test-helper.h replace tabs with spaces in some files 2014-02-21 03:50:12 +01: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 Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-install.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02: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 test: correct enum misassignment 2012-07-22 23:53:48 +02:00
test-libudev.c udev: never bypass our own logging framework and call vsyslog() directly from udev tools 2014-08-11 20:13:38 +02: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 Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02:00
test-loopback.c test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-namespace.c util: replace close_pipe() with new safe_close_pair() 2014-03-24 03:22:44 +01:00
test-ns.c namespace: add support for custom kdbus endpoint 2014-09-08 14:12:56 +02:00
test-path-util.c test-path-util: use assert_se in all assertions 2014-08-26 20:31:31 +02:00
test-prioq.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
test-pty.c test-pty: silence a warning 2014-07-17 20:23:53 +02: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 shared: fix coding-style for ring-buffer implementation 2014-07-11 16:43:53 +02:00
test-rtnl-manual.c sd-rtnl: fix broken test cases and add support for tunnel 2014-04-03 18:09:24 +02:00
test-sched-prio.c test-engine: fix access to unit load path 2014-07-20 19:48:16 -04:00
test-sleep.c Make test-login and test-sleep output debugging 2013-09-17 16:44:38 -04:00
test-socket-util.c tests: add tests for socket-util.c 2014-08-18 18:43:45 +02: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 Properly report invalid quoted strings 2014-07-31 08:56:03 -04:00
test-strxcpyx.c tests: fix size_t in format string 2013-03-26 23:50:44 -04:00
test-tables.c bus: factor out bus policy items 2014-09-08 11:06:45 +02:00
test-time.c tests: add tests for time-util.c 2014-08-18 18:44:00 +02:00
test-tmpfiles.c always use the same code for creating temporary files 2014-01-28 13:47:35 +01:00
test-udev.c libudev: util - drop util_delete_path() 2014-09-16 12:12:56 +02:00
test-uid-range.c test: fix test of uid-range 2014-09-14 22:47:21 +02:00
test-unit-file.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
test-unit-name.c test-engine: fix access to unit load path 2014-07-20 19:48:16 -04:00
test-utf8.c core: do not print invalid utf-8 in error messages 2014-02-08 13:07:39 -05:00
test-util.c test: fix mem-leak in fdopen() test 2014-09-11 17:39:17 +02:00
test-watchdog.c test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-xml.c bus: add basic dbus1 policy parser 2014-06-06 19:41:24 +02:00