From b68068eed20ec4eeae97fb10548c32e9ce75357c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Fri, 24 Mar 2017 22:28:02 +0100 Subject: [PATCH] fate: mask errors while constructing report files The first case was forgotten in 89790ba2bfc9d0dc5ad407c5724b6ee616ecde58. Note: build_only=yes is one of the case where hiding the errors makes sense. --- tests/fate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate.sh b/tests/fate.sh index 885ea17a1b..bbdc7015a6 100755 --- a/tests/fate.sh +++ b/tests/fate.sh @@ -86,7 +86,7 @@ report(){ date=$(date -u +%Y%m%d%H%M%S) echo "fate:1:${date}:${slot}:${version}:$1:$2:${branch}:${comment}" >report cat ${build}/config.fate >>report - cat ${build}/tests/data/fate/*.rep >>report || for i in ${build}/tests/data/fate/*.rep ; do cat "$i" >>report 2>/dev/null; done + cat ${build}/tests/data/fate/*.rep >>report 2>/dev/null || for i in ${build}/tests/data/fate/*.rep ; do cat "$i" >>report 2>/dev/null; done test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv }