1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00
systemd-stable/test/TEST-22-TMPFILES
Lennart Poettering b82e818f5c test: make sure our tests get exclusive TTY access
This sould make our test suite a bit more robust if it is slow running.
A few of our test services use StandardOutput=tty or StandardError=tty
in the tests in order to connect test services to the container console.
This gets into conflict with the container getty which wants exclusive
access to the console. Since the container getty is started with
Type=idle it typically gets started after a timeout only if the TTY is
already used, which hence introduces a race: if the test finishes
earlier all is good, if not, then the test gets kicked off the TTY which
then causes bash to abort since it cannot write any error messages
anymore.

Let's fix this hence: all tests that connect to the tty are now
synchronized to getty-pre.target, so they finish before any getty is
started.
2019-11-20 09:39:54 +01:00
..
Makefile test: replace duplicated Makefile by symbolic link 2018-10-09 19:11:21 +09:00
run-tmpfiles-tests.sh test: add tests for systemd-tmpfiles 2018-03-05 21:49:11 +01:00
test-01.sh test: add tests for systemd-tmpfiles 2018-03-05 21:49:11 +01:00
test-02.sh test: Add tests for tmpfiles C behavior 2019-01-08 14:30:15 -06:00
test-03.sh codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
test-04.sh test: don't use "nobody:nogroup" for tests 2018-08-08 11:59:39 +02:00
test-05.sh tmpfiles: use fd_get_path() even less excessively 2018-08-21 19:48:08 +02:00
test-06.sh TEST-22: extend test suite a bit 2018-11-08 09:52:16 +01:00
test-07.sh tmpfiles: also order glob child/parent relationships 2018-11-20 16:36:29 +01:00
test-08.sh TEST-22: add test for unprivileged dirs in root prefixes 2019-02-28 13:06:07 -05:00
test-09.sh tests: add test for suid/sgid handling in tmpfiles 2019-04-30 09:18:23 +02:00
test.sh test: add function to reduce copied setup boilerplate 2019-10-08 09:10:12 +02:00
testsuite.service test: make sure our tests get exclusive TTY access 2019-11-20 09:39:54 +01:00