]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: use journalctl -n option instead of piping to head
authorNick Rosbrook <enr0n@ubuntu.com>
Mon, 19 Jan 2026 21:09:12 +0000 (16:09 -0500)
committerNick Rosbrook <enr0n@ubuntu.com>
Fri, 30 Jan 2026 14:30:20 +0000 (09:30 -0500)
commita8efad14f878a5ea0d566fd61bda8e0bb332ae7d
treeaf7f9e7c84e88b23a475fe8056f370196dd8a851
parent43b6eb09be03b88b7e1ab5042a71f91303122b15
test: use journalctl -n option instead of piping to head

On Ubuntu's test infrastructure for the development series, this test
often fails when piping the journal output to head. The cause is
unclear, but possibly related to Ubuntu's use of uutils coreutils.

Workaround this by just using journalctl's -n flag, which removes the
need for piping output to head.
test/units/TEST-04-JOURNAL.journal.sh