Commit 951b37b1 authored by anonym's avatar anonym
Browse files

Use journalctl instead of (non-existing) syslog.

parent f0e00b9c
......@@ -16,9 +16,9 @@ def seahorse_wait_helper(img, time = 20)
"Could not find 'SeahorseKeyserverError.png'")
# Seahorse has been known to segfault during tests
syslog = $vm.file_content('/var/log/syslog')
m = /seahorse\[[0-9]+\]: segfault/.match(syslog)
assert(!m, 'Seahorse aborted with a segmentation fault')
segfault = $vm.execute('journalctl --dmesg --output=cat | ' +
'grep -E "^seahorse\[[0-9]+\]: segfault"')
assert(segfault.empty?, 'Seahorse aborted with a segmentation fault')
# Neither keyserver error nor segfault
raise e
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment