]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add a test case for #15528 15544/head
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Wed, 22 Apr 2020 17:22:40 +0000 (22:52 +0530)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Apr 2020 07:24:17 +0000 (09:24 +0200)
test/units/testsuite-04.sh

index 1431dad862bf86af4d47bfb59920ef4112281e7c..6e7627313cfa0ba2ca28d7d50d9f43d61539a6ae 100755 (executable)
@@ -106,4 +106,7 @@ systemctl kill --signal=SIGKILL systemd-journald
 sleep 3
 [[ ! -f "/i-lose-my-logs" ]]
 
+# https://github.com/systemd/systemd/issues/15528
+journalctl --follow --file=/var/log/journal/*/* | head -n1 || [[ $? -eq 1 ]]
+
 touch /testok