INN commit: trunk/tests (data/overview/1-4 storage/makehistory.t)
INN Commit
Russ_Allbery at isc.org
Fri Sep 12 21:03:22 UTC 2008
Date: Friday, September 12, 2008 @ 14:03:22
Author: iulius
Revision: 8023
makehistory now creates :lines and :bytes by default. Add them
to the test suite.
I have manually checked the expected result.
Modified:
trunk/tests/data/overview/1-4
trunk/tests/storage/makehistory.t
-----------------------+
data/overview/1-4 | 8 ++++----
storage/makehistory.t | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)
Modified: data/overview/1-4
===================================================================
--- data/overview/1-4 2008-09-11 17:11:53 UTC (rev 8022)
+++ data/overview/1-4 2008-09-12 21:03:22 UTC (rev 8023)
@@ -1,4 +1,4 @@
-0 Test article #2 user at example.com Sat, 06 Mar 2004 21:39:54 -0800 <example-2 at example.com> Xref: news.example.com example.config:1 Path: news.example.com!not-for-mail
-0 Test article user at example.com Sat, 06 Mar 2004 21:39:44 -0800 <example-1 at example.com> Xref: news.example.com example.test:1 Path: news.example.com!not-for-mail
-0 Test article #3 with a | | tab user at example.com Sat, 06 Mar 2004 21:40:54 -0800 <example-3 at example.com> Xref: news.example.com example.test:2 example.config:2 Path: news.example.com!not-for-mail
-1084956201 This is an aggressively obnoxious article for testing overview I Am User <user at example.com> Tue, 18 May 2004 01:43:21 -0700 <example-4 at example.com> <example-1 at example.com> <example-2 at example.com> Xref: news.example.com example.test:3 Path: news.example.com!not-for-mail
+0 Test article #2 user at example.com Sat, 06 Mar 2004 21:39:54 -0800 <example-2 at example.com> 294 1 Xref: news.example.com example.config:1 Path: news.example.com!not-for-mail
+0 Test article user at example.com Sat, 06 Mar 2004 21:39:44 -0800 <example-1 at example.com> 285 1 Xref: news.example.com example.test:1 Path: news.example.com!not-for-mail
+0 Test article #3 with a | | tab user at example.com Sat, 06 Mar 2004 21:40:54 -0800 <example-3 at example.com> 318 1 Xref: news.example.com example.test:2 example.config:2 Path: news.example.com!not-for-mail
+1084956201 This is an aggressively obnoxious article for testing overview I Am User <user at example.com> Tue, 18 May 2004 01:43:21 -0700 <example-4 at example.com> <example-1 at example.com> <example-2 at example.com> 504 2 Xref: news.example.com example.test:3 Path: news.example.com!not-for-mail
Modified: storage/makehistory.t
===================================================================
--- storage/makehistory.t 2008-09-11 17:11:53 UTC (rev 8022)
+++ storage/makehistory.t 2008-09-12 21:03:22 UTC (rev 8023)
@@ -104,8 +104,7 @@
# arrival date since we can't really check it, but we leave the expires time.
sed -e 's/^[^ ]* [^ ]* //' -e 's/Xref: [^ ]*/Xref:/' spool/overview \
> spool/stripped
-sed -e 's/Xref: [^ ]*/Xref:/' overview/1-4 > spool/correct
-compare spool/stripped spool/correct
+compare spool/stripped overview/1-4stripped
# Done. Clean up.
rm -rf spool
More information about the inn-committers
mailing list