tests: redirect the stdout/stderr of journald to a file (under ASan+UBSan)
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 10 May 2019 00:47:03 +0000 (02:47 +0200)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sun, 12 May 2019 01:37:36 +0000 (03:37 +0200)
commit6141c6c99bbcba92b748a3a826257bea5ef28731
tree8b0f7dc862a9adeba58ed612d63a12eeac7d0f59
parentabf9b52ccda512ce09e6cf1219ecf3252a5e24c2
tests: redirect the stdout/stderr of journald to a file (under ASan+UBSan)

Sometimes UBSan sends its reports to stderr regardless of what is specified in log_path
Let's try to catch them by redirecting stderr (and stdout just in case) to a file
See https://github.com/systemd/systemd/pull/12524#issuecomment-491108821
test/test-functions