Include multiline logs in fuzzer fatal.log report

This commit is contained in:
Raúl Marín 2024-03-04 17:42:06 +01:00
parent 017a81692f
commit 0149b8893a

View File

@ -386,7 +386,7 @@ if [ -f core.zst ]; then
CORE_LINK='<a href="core.zst">core.zst</a>'
fi
rg --text -F '<Fatal>' server.log > fatal.log ||:
sed -n '/<Fatal>/,/^$/p' s.log | rg "(^[^202])|<Fatal>" server.log > fatal.log ||:
FATAL_LINK=''
if [ -s fatal.log ]; then
FATAL_LINK='<a href="fatal.log">fatal.log</a>'