Test: fix regress.sh to show correct number of total tests.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sat, 29 Apr 2023 12:44:59 +0000 (21:44 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 30 Apr 2023 06:57:43 +0000 (15:57 +0900)
Previously it ignored the number of timed out tests. As a result total
number of tests showed incorrect number because num-total tests was
calculated as num-ok + num-failed.

This is an oversight when timeout was introduced in 6688332da.

src/test/regression/regress.sh

index 0746fe5ee3f39dd762596ff856c19d1393725d8f..6dc9814c820ee7f5b1acc58b4e0e0863f0f918a1 100755 (executable)
@@ -238,6 +238,6 @@ do
 
 done
 
-total=`expr $ok + $fail`
+total=`expr $ok + $fail + $timeout`
 
 echo "out of $total ok:$ok failed:$fail timeout:$timeout"