tests: display tail of bash.trace on failure

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
This commit is contained in:
Zygmunt Krynicki 2025-02-17 15:50:57 +01:00
parent 473e791e4e
commit c268e5d11b

View file

@ -138,6 +138,8 @@ execute: |
echo "Test execution logs are in the files bash.{log,err,trace} and are collected as artifacts"
echo "Bash errors are listed below:"
cat bash.err
echo "Tail of the trace is:"
tail bash.trace
exit 1
else
for xfail in ${XFAIL:-}; do