-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove un-used code and small updates
- Loading branch information
Showing
6 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# Journald tests (Debian 12) | ||
The tests for the journald input (currently only used for Debian 12 | ||
testing require journal files (test files ending in `.journal`), those | ||
testing) require journal files (test files ending in `.journal`), those | ||
files are generated using `systemd-journal-remote` (see the [Journald | ||
input README.md](../../input/journald/README.md) for more details) as | ||
a dataset the `.export` files are used. Those files are the raw output | ||
of `journalctl -o export`. They are added here because journal files | ||
format change with different versions of journald, which can cause | ||
`journalclt` to fail reading them, which leads to test failures. So if | ||
tests start failing because `journalctl` cannot read the journal files | ||
as expected, new ones can easily be generated with the current version | ||
used for testing. | ||
input README.md](../../input/journald/README.md) for more details). | ||
|
||
The source for those journal files are the `.export` files in the test | ||
folder. Those files are the raw output of `journalctl -o export`. They | ||
are added here because journal files format change with different | ||
versions of journald, which can cause `journalclt` to fail reading | ||
them, which leads to test failures. So if tests start failing because | ||
`journalctl` cannot read the journal files as expected, new ones can | ||
easily be generated with the same version of journalctl used on CI | ||
and the original dataset. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters