OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/test/run.sh versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/test/run.sh 1.1 -> 1.2

--- run.sh       2001/08/08 10:40:43     1.1
+++ run.sh       2001/08/13 15:16:32     1.2
@@ -6,12 +6,19 @@
 fi
 echo ------------------------------------------------------------
 #./lmtp2nntp -h news-muc1.de.cw.net -h news-ffm2.de.cw.net -h news-dus2.de.cw.net -h news-ecrc.de
-awk <testmessage1 "\
- /Message-ID/ { print \"Message-ID: `date +%Y%m%d%H%M%S`@dev12.dev.de.cw.net\" } \
+#clear ; ./lmtp2nntp <testmessage2 -g envelope -h dev16
+#exit
+
+clear ; awk <testmessage2 "\
+  /Message-ID/ { print \"Message-ID: <`date +%Y%m%d%H%M%S`@dev12.dev.de.cw.net>\" } \
  !/Message-ID/ { print \$0 } \
  " \
- | ./lmtp2nntp -g envelope -h news-ffm2.de.cw.net -h news-dus2.de.cw.net -h news.ecrc.de
+ | tee /tmp/reusetestmessage \
+ | ./lmtp2nntp -g envelope -h dev16
+cat /tmp/reusetestmessage | ./lmtp2nntp -g envelope -h dev16
 echo -----------------------------------------------------------
+exit
+
 if [ -r /tmp/t ]
 then
     cat /tmp/t

CVSTrac 2.0.1