report: fix summary statistics in xUnit header
[xfstests-dev.git] / common / report
index bb689836ae22b3b3c603c799936bbd281776666d..058c0bba6a1e002ec4d3dd0e58bdd37fff364591 100644 (file)
@@ -59,7 +59,7 @@ _xunit_make_section_report()
        # Header
        echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > $REPORT_DIR/result.xml
        local dtime=`echo $date_time| tr  " " 'T'`
-       local stats="errors=\"$n_bad\" skipped=\"$n_notrun\" tests=\"$n_total\" time=\"$sect_time\""
+       local stats="failures=\"$n_bad\" skipped=\"$n_notrun\" tests=\"$n_total\" time=\"$sect_time\""
        local hw_info="hostname=\"$HOST\" timestamp=\"$dtime\" "
        echo "<testsuite name=\"xfstests\" $stats  $hw_info >" >> $REPORT_DIR/result.xml