summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-01-19 22:42:03 +0100
committerLennart Poettering <lennart@poettering.net>2023-02-08 13:42:29 +0100
commit2bc70e2e9db13cfbc74e4bf1fd28ecbfef1466c9 (patch)
tree14c884d694a77c3d1970549f4b95cbb3f11222ae /test
parentb1712fabd1702640b04b0acdbba2d78294313a4d (diff)
downloadsystemd-2bc70e2e9db13cfbc74e4bf1fd28ecbfef1466c9.tar.gz
logs-show: show seqnum info in export+json output mode
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-04.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/testsuite-04.sh b/test/units/testsuite-04.sh
index d10a9afbf7..5d27df91fb 100755
--- a/test/units/testsuite-04.sh
+++ b/test/units/testsuite-04.sh
@@ -70,7 +70,7 @@ ID=$(journalctl --new-id128 | sed -n 2p)
printf $'foo' | systemd-cat -t "$ID" --level-prefix false
journalctl --sync
journalctl -b -o export --output-fields=MESSAGE,FOO --output-fields=PRIORITY,MESSAGE -t "$ID" >/output
-[[ $(grep -c . /output) -eq 6 ]]
+[[ $(grep -c . /output) -eq 8 ]]
grep -q '^__CURSOR=' /output
grep -q '^MESSAGE=foo$' /output
grep -q '^PRIORITY=6$' /output