OSSP CVS Repository

ossp - Check-in [744]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 744
Date: 2001-Aug-23 09:58:44 (local)
2001-Aug-23 07:58:44 (UTC)
User:thl
Branch:
Comment: updated check/test environment
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/test/run.sh      1.8 -> 1.9     12 inserted, 9 deleted
ossp-pkg/lmtp2nntp/test/testmessage.vialmtp      1.1 -> 1.2     5 inserted, 2 deleted
ossp-pkg/lmtp2nntp/test/triplecheck.sh      added-> 1.1

ossp-pkg/lmtp2nntp/test/run.sh 1.8 -> 1.9

--- run.sh       2001/08/20 14:11:31     1.8
+++ run.sh       2001/08/23 07:58:44     1.9
@@ -43,9 +43,10 @@
 {
     newmsg lmtp
     cat /tmp/testmessage \
-     | ../lmtp2nntp -t /tmp/tracing -d $1 -g $2 -h dev16 cw.de.sd.apps.dev.test
-    cat /tmp/testmessage \
-     | ../lmtp2nntp -t /tmp/tracing -d $1 -g $2 -h dev16 cw.de.sd.apps.dev.test
+     | ../lmtp2nntp -t /tmp/tracing -d $1 -g $2 -h dev16 -h dev16.de.cw.net -h 141.1.23.116 $3 >/dev/null; echo $?
+  echo ../lmtp2nntp -t /tmp/tracing -d $1 -g $2 -h dev16 $3
+#   cat /tmp/testmessage \
+#    | ../lmtp2nntp -t /tmp/tracing -d $1 -g $2 -h dev16 $3 >/dev/null; echo $?
 }
 
 sendmaildup()
@@ -89,12 +90,14 @@
 
 before
 
-#ok newmsg sendmail; ls -l /tmp/testmessage && cat /tmp/testmessage
-#ok lmtp feed arg
-# lmtp post arg
-#ok lmtp feed envelope
-#ok lmtp post envelope
-sendmaildup
+#newmsg sendmail; ls -l /tmp/testmessage && cat /tmp/testmessage
+#lmtp feed arg
+lmtp post arg cw.de.sd.apps.dev.test
+#ok lmtp post envelope '*.test.* cw.*.dev.*'
+#ok lmtp post header '*.test.* cw.*.dev.* *foo*'
+#lmtp feed envelope
+#lmtp post envelope
+#sendmaildup
 #post1000
 
 after


ossp-pkg/lmtp2nntp/test/testmessage.vialmtp 1.1 -> 1.2

--- testmessage.vialmtp  2001/08/14 14:43:26     1.1
+++ testmessage.vialmtp  2001/08/23 07:58:44     1.2
@@ -1,15 +1,18 @@
 LHLO dev.de.cw.net
 MAIL From:<thl@dev.de.cw.net>
-RCPT To:<x+quux@news-posting>
+RCPT To:<cw.de.sd.apps.dev.test@news-posting>
+RCPT To:<foo.bar@news-posting>
+RCPT To:<foo.test.bar@news-posting>
 DATA
 Date: Tue, 14 Aug 2001 14:51:48 +0200 (CEST)
 Message-Id: <200108141251.f7ECpmn74812@dev.de.cw.net>
 From: Thomas Lotterer <Thomas.Lotterer@de.cw.net>
-Newsgroups: foo,bar
+Newsgroups: fu,bar,quux,fuzel,nasen,baer
 Subject: lmtp2nntp testmessage.viasendmail
 
 ..
 a dot above
+#
 a dot below
 ..
 .


ossp-pkg/lmtp2nntp/test/triplecheck.sh -> 1.1

*** /dev/null    Sat Nov 23 05:53:45 2024
--- -    Sat Nov 23 05:53:48 2024
***************
*** 0 ****
--- 1,2 ----
+ #!/bin/sh
+ egrep -ih '^Message-ID:' lmtp2nntp.log t | sed 's/
//' | sort -f | uniq -ic | egrep -iv '^[ ]+3[ ]'

CVSTrac 2.0.1