INN commit: trunk/tests/storage (makehistory.t)

INN Commit Russ_Allbery at isc.org
Sat Jun 21 08:13:36 UTC 2008


    Date: Saturday, June 21, 2008 @ 01:13:36
  Author: iulius
Revision: 7882

On some systems, the overview data is not generated in order.
Fix the test suite for that.

Modified:
  trunk/tests/storage/makehistory.t

---------------+
 makehistory.t |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: makehistory.t
===================================================================
--- makehistory.t	2008-06-21 07:31:44 UTC (rev 7881)
+++ makehistory.t	2008-06-21 08:13:36 UTC (rev 7882)
@@ -58,7 +58,7 @@
 
 # Run makehistory on the spool to generate only the overview information and
 # make sure the correct number of lines were generated.
-$makehistory -x -O -S > spool/overview
+$makehistory -x -O -S | sort > spool/overview
 lines=`wc -l spool/overview | sed -e 's/^ *//' -e 's/ .*//'`
 if [ "$lines" = 4 ] ; then
     printcount "ok"



More information about the inn-committers mailing list