Systemd/src/test
Lennart Poettering 2928b0a863 core: add support for a configurable system-wide start-up timeout
When this system-wide start-up timeout is hit we execute one of the
failure actions already implemented for services that fail.

This should not only be useful on embedded devices, but also on laptops
which have the power-button reachable when the lid is closed. This
devices, when in a backpack might get powered on by accident due to the
easily reachable power button. We want to make sure that the system
turns itself off if it starts up due this after a while.

When the system manages to fully start-up logind will suspend the
machine by default if the lid is closed. However, in some cases we don't
even get as far as logind, and the boot hangs much earlier, for example
because we ask for a LUKS password that nobody ever enters.

Yeah, this is a real-life problem on my Yoga 13, which has one of those
easily accessible power buttons, even if the device is closed.
2014-08-22 18:10:31 +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 Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02: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 tests: add tests for fileio.c 2014-08-18 18:43:50 +02:00
test-hashmap.c tests: add tests to test-hashmap 2014-06-16 20:38:22 +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 install: beef up preset logic to limit to only enable or only disable, and do all-unit preset operations 2014-06-17 02:43:17 +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 core: rename ReadOnlySystem= to ProtectSystem= and add a third value for also mounting /etc read-only 2014-06-04 18:12:55 +02:00
test-path-util.c Add utility function to append root to path 2014-07-26 15:08:42 -04:00
test-prioq.c shared: switch our hash table implementation over to SipHash 2013-12-22 21:12:25 +01: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 core: add support for a configurable system-wide start-up timeout 2014-08-22 18:10:31 +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 udev: never bypass our own logging framework and call vsyslog() directly from udev tools 2014-08-11 20:13:38 +02:00
test-uid-range.c tmpfiles: add new 'r' line type to add UIDs/GIDs to the pool to allocate UIDs/GIDs from 2014-08-19 19:06:39 +02:00
test-unit-file.c machinectl: show /etc/os-release information of container in status output 2014-07-03 17:54:24 +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 shared: add MAXSIZE() and use it in resolved 2014-08-22 14:01:05 +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