From 152d5df95c580ecb07b15280bd405bd194d9ac72 Mon Sep 17 00:00:00 2001 From: fukachan Date: Thu, 27 Jun 2002 10:38:21 +0000 Subject: loader $domain form --- regress/simulation/emul_post.sh.new | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 regress/simulation/emul_post.sh.new diff --git a/regress/simulation/emul_post.sh.new b/regress/simulation/emul_post.sh.new new file mode 100755 index 00000000..16956193 --- /dev/null +++ b/regress/simulation/emul_post.sh.new @@ -0,0 +1,40 @@ +#!/bin/sh +# +# $FML: emul_post.sh,v 1.2 2001/11/27 08:41:14 fukachan Exp $ +# + +DO () { + ( + pwd=`pwd` + cd ../.. || exit 1 + pwd + + test -f $msg || return; + + maincf=/tmp/main.cf.$$ + trap "rm -f $maincf" 0 1 3 15 + sed -e "s@\$pwd@$PWD@g" regress/simulation/main.cf > $maincf + + regress/message/scramble.pl $msg |\ + ${PERL:-perl} -w fml/libexec/loader -c $maincf \ + elena@home.fml.org + echo "-- exit code: $?" + ) +} + +if [ "X$*" != X ];then + list=$* +else + pwd=`pwd` + list=$pwd/../testmails/text=plain +fi + +(cd ../../fml/etc/;sh .gen.sh) + +for msg in $list +do + DO $msg +done + +exit 0 + -- cgit v1.2.1