summaryrefslogtreecommitdiff
path: root/test/TEST-04-JOURNAL
Commit message (Collapse)AuthorAgeFilesLines
* test: drop 'After=multi-user.target' from most of testsuite.serviceYu Watanabe2018-11-031-1/+0
|
* test: mask several unnecessary servicesYu Watanabe2018-11-031-0/+8
| | | | This may make CIs run faster.
* journalctl: add --output-fields= (#7181)Lars Karlitski2017-10-271-0/+12
| | | | | | | | | This option allows restricting the shown fields in the output modes that would normally show all fields. It allows clients that are only interested in a subset of the fields to access those more efficiently. Also, it makes the resulting size of the output more predictable. It has no effect on the various `short` output modes, because those already only show a subset of the fields.
* test: Run qemu/nspawn tests with "set -e"Martin Pitt2017-08-101-0/+1
| | | | | | | | This catches errors like "ninja not found", missing programs etc. early, instead of silently ignoring them and trying to boot a broken VM. In install_config_files(), allow some distro specific files to be absent (such as /etc/sysconfig/init).
* test: Factorize common integration test functions (#6540)Martin Pitt2017-08-041-34/+0
| | | | | | | | | | | All test/TEST* but TEST-02-CRYPTSETUP share the same check_result_qemu() and test_cleanup(), so move them into test_functions and only override them in TEST-02-CRYPTSETUP. Also provide a common test_run() which by default assumes that both QEMU and nspawn tests are run. Particular tests which don't support either need to explicitly opt out by setting $TEST_NO_{QEMU,NSPAWN}. Do it this way around to avoid accidentally forgetting to opt in, and to encourage test authors to at least always support nspawn.
* tests: add test that journald keeps fds over termination by signalEvgeny Vereshchagin2016-11-011-0/+8
| | | | This test fails before previous commit, and passes with it.
* test: merge check_nspawn() into run_nspawn()Martin Pitt2016-06-241-2/+1
| | | | | This makes nspawn tests symmetric with run_qemu() which also exits with 1 if QEMU is not available.
* test: remove exit 0 at the endPhillip Sz2016-02-051-1/+0
| | | | | We don't need that at the end, as it will always exit with 0 if everything is okey.
* tests: add regression test for `systemctl restart systemd-journald`Evgeny Vereshchagin2015-12-302-0/+17
| | | | See https://github.com/systemd/systemd/issues/2236
* tests: use sync instead of flushEvgeny Vereshchagin2015-11-271-6/+6
| | | | flush doesn't sync a journal -> tests sometimes fail
* tests: don't run test on incomplete setupEvgeny Vereshchagin2015-11-271-1/+1
| | | | | | | This is a follow-up commit for https://github.com/systemd/systemd/pull/1937 See https://github.com/systemd/systemd/pull/2030
* tests: journal-stdout-stream: add cases for leading and trailing spacesEvgeny Vereshchagin2015-11-171-0/+30
|
* tests: add basic journal testEvgeny Vereshchagin2015-11-173-0/+102