Skip to content

Commit

Permalink
test: Skip parts of check-journal for old systemd.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollmer committed Apr 15, 2015
1 parent 612dcc2 commit 218f89d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/check-journal
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ ExecStart=/bin/sh -c 'for s in $(seq 10); do echo SLOW; sleep 0.1; done; sleep 1
b.go("/?prio=*&start=oldest&service=slow10.service")
wait_slow10()

if "208" in m.execute("journalctl --version"):
# HACK - Old versions of journalctl get the rest wrong.
# https://bugzilla.redhat.com/show_bug.cgi?id=1211972
return

# insert messages as errors because we know these will be shown by default
m.execute("logger -p user.err --tag check-journal BEFORE BOOT");
m.spawn("sleep 0.1 && reboot", "reboot")
Expand Down

0 comments on commit 218f89d

Please sign in to comment.