OSDN Git Service

fate: add comment field
authorMans Rullgard <mans@mansr.com>
Fri, 20 May 2011 11:47:42 +0000 (12:47 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 20 May 2011 12:50:52 +0000 (13:50 +0100)
This adds a comment field to the report header, suitable for
extra information not covered by the automatic fields.

Signed-off-by: Mans Rullgard <mans@mansr.com>
tests/fate.sh

index c522269..9fd117c 100755 (executable)
@@ -75,7 +75,7 @@ clean(){
 
 report(){
     date=$(date -u +%Y%m%d%H%M%S)
-    echo "fate:0:${date}:${slot}:${version}:$1:$2" >report
+    echo "fate:0:${date}:${slot}:${version}:$1:$2:${comment}" >report
     cat ${build}/config.fate ${build}/tests/data/fate/*.rep >>report
     test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
 }