LADI
/
spa
1
Fork 0
spa/test
Barnabás Pőcze de7883024b test: test-logger: fix systemd journal usage
`sd_journal_seek_tail()` is supposed to seek to the logical end of the journal,
i.e. (always) after the last entry. A call to `sd_journal_previous()` is needed
to seek to the last entry, so that `sd_journal_next()` can be called
successfully in `find_in_journal()`. Without it, the journal would always
stay at the end of the list of entries, so further `sd_journal_next()`
calls would fail as there are no entries after the last.

See:
 * https://github.com/systemd/systemd/issues/25369
 * https://github.com/systemd/systemd/pull/26577
2023-05-22 08:05:39 +00:00
..
meson.build test: add simple functional tests 2022-03-05 17:51:22 +00:00
pwtest-compat.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
pwtest-implementation.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
pwtest.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
pwtest.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-array.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-client.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-config.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-context.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-example.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-functional.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-lib.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-logger.c test: test-logger: fix systemd journal usage 2023-05-22 08:05:39 +00:00
test-loop.c hooks: add and use _fast callback function 2023-05-06 00:27:12 +02:00
test-map.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-properties.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-pwtest.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-spa-buffer.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-spa-json.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-spa-log.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-spa-node.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-spa-pod.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-spa-utils.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-support.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-utils.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00