INN commit: trunk/tests/util (inndf.t)
INN Commit
rra at isc.org
Thu Jan 28 21:39:10 UTC 2021
Date: Thursday, January 28, 2021 @ 13:39:10
Author: iulius
Revision: 10540
Fix the inndf test suite on powerpc64
Commit 10512 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:
trunk/tests/util/inndf.t
---------+
inndf.t | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: inndf.t
===================================================================
--- inndf.t 2021-01-26 11:02:51 UTC (rev 10539)
+++ inndf.t 2021-01-28 21:39:10 UTC (rev 10540)
@@ -129,8 +129,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