INN commit: trunk/tests/storage (sm.t)
INN Commit
Russ_Allbery at isc.org
Sat Jan 31 12:40:53 UTC 2009
Date: Saturday, January 31, 2009 @ 04:40:53
Author: iulius
Revision: 8309
Use "q" and "d" instead of "Q" in sed patterns.
Modified:
trunk/tests/storage/sm.t
------+
sm.t | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: sm.t
===================================================================
--- sm.t 2009-01-31 11:26:09 UTC (rev 8308)
+++ sm.t 2009-01-31 12:40:53 UTC (rev 8309)
@@ -77,9 +77,9 @@
}
# Check retrieval of only the headers, given a token and a path to the real
-# article.
+# article. (sed '/^$/Q' is unrecognized on some implementations.)
headers () {
- sed '/^$/Q' "$2" > spool/real
+ sed '/^$/q' "$2" | sed '/^$/d' > spool/real
"$sm" -H "$1" > spool/test
if [ $? = 0 ] && diff spool/real spool/test ; then
printcount "ok"
More information about the inn-committers
mailing list