From 473e791e4efc8a8e637300f7c1cc485fcf80bd2f Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Mon, 17 Feb 2025 15:50:36 +0100 Subject: [PATCH] tests: do not display bash.err on XFAIL passes This makes no sense since the test has passed and there's nothing to look at in the log. Signed-off-by: Zygmunt Krynicki --- tests/regression/apparmor/task.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/regression/apparmor/task.yaml b/tests/regression/apparmor/task.yaml index 5f1381f33..1eedcdb44 100644 --- a/tests/regression/apparmor/task.yaml +++ b/tests/regression/apparmor/task.yaml @@ -143,9 +143,6 @@ execute: | for xfail in ${XFAIL:-}; do if [ "$SPREAD_SYSTEM" = "$xfail" ]; then echo "Test $SPREAD_VARIANT has unexpectedly passed" - 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 exit 1 fi done