ossp-pkg/lmtp2nntp/test/run.sh 1.7 -> 1.8
--- run.sh 2001/08/20 10:33:22 1.7
+++ run.sh 2001/08/20 14:11:31 1.8
@@ -12,11 +12,14 @@
h="H"
z="Z"
e="E"
- if [ -e /tmp/tracing ]
- then
+ if [ -e /tmp/tracing ]; then
ssh -t -x root@localhost exec rm -f /tmp/tracing
fi
touch /tmp/tracing
+ if [ -e /tmp/testmessage ]; then
+ ssh -t -x root@localhost exec rm -f /tmp/testmessage
+ fi
+ touch /tmp/testmessage
}
post1000 ()
@@ -40,18 +43,18 @@
{
newmsg lmtp
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 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 cw.de.sd.apps.dev.test
}
sendmaildup()
{
newmsg sendmail
cat /tmp/testmessage \
- | sendmail -i posting+$h$z$e@dev12.dev.de.cw.net
+ | sendmail -i posting+cw.de.sd.apps.dev.test@dev12.dev.de.cw.net
cat /tmp/testmessage \
- | sendmail -i posting+$h$z$e@dev12.dev.de.cw.net
+ | sendmail -i posting+cw.de.sd.apps.dev.test@dev12.dev.de.cw.net
}
newmsg()
@@ -88,10 +91,10 @@
#ok newmsg sendmail; ls -l /tmp/testmessage && cat /tmp/testmessage
#ok lmtp feed arg
-lmtp post arg
+# lmtp post arg
#ok lmtp feed envelope
#ok lmtp post envelope
-#sendmaildup
+sendmaildup
#post1000
after
|
|