diff options
| author | fukachan <fukachan> | 2002-06-30 02:28:26 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-06-30 02:28:26 +0000 |
| commit | dd363a587aecd99c50460fc4faaec5da83df3434 (patch) | |
| tree | c4e48cba00e382f7536b775998bf1918d1d02175 | |
| parent | baffa01d11f7d5b2589ec28cf9584eaec481a7e5 (diff) | |
| download | fml8-dd363a587aecd99c50460fc4faaec5da83df3434.tar.gz fml8-dd363a587aecd99c50460fc4faaec5da83df3434.tar.bz2 fml8-dd363a587aecd99c50460fc4faaec5da83df3434.zip | |
test of virtual_maps
| -rwxr-xr-x | regress/simulation/emul_post.sh.nuinui.net | 40 | ||||
| -rw-r--r-- | regress/simulation/virtual | 1 |
2 files changed, 41 insertions, 0 deletions
diff --git a/regress/simulation/emul_post.sh.nuinui.net b/regress/simulation/emul_post.sh.nuinui.net new file mode 100755 index 00000000..9a5de5a4 --- /dev/null +++ b/regress/simulation/emul_post.sh.nuinui.net @@ -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 \ + rudo@nuinui.net + 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 + diff --git a/regress/simulation/virtual b/regress/simulation/virtual new file mode 100644 index 00000000..98107d88 --- /dev/null +++ b/regress/simulation/virtual @@ -0,0 +1 @@ +nuinui.net /tmp/nuinui |
