INN commit: branches/2.6/tests/util (inndf.t)

INN Commit rra at isc.org
Thu Jan 28 21:40:27 UTC 2021


    Date: Thursday, January 28, 2021 @ 13:40:27
  Author: iulius
Revision: 10541

Fix the inndf test suite on powerpc64

Commit 10513 fixed the buffindexed report usage (it was wrongly
truncated to 3.00% instead of for instance 3.17%).
On powerpc64, this value is 3.33%.

Change the inndf test suite to accept all decimal values (3.xx%)
which was its previous behaviour.

Modified:
  branches/2.6/tests/util/inndf.t

---------+
 inndf.t |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: inndf.t
===================================================================
--- inndf.t	2021-01-28 21:39:10 UTC (rev 10540)
+++ inndf.t	2021-01-28 21:40:27 UTC (rev 10541)
@@ -128,8 +128,8 @@
     echo "$out"
     printcount "not ok"
 fi
-out=`$inndf -o`
-if [ "$out" = "3.17% overview space used" ] ; then
+out=`$inndf -o | sed 's/\...%/\.00%/'`
+if [ "$out" = "3.00% overview space used" ] ; then
     printcount "ok"
 else
     echo "$out"



More information about the inn-committers mailing list