diff options
| author | fukachan <fukachan> | 2002-11-25 14:30:57 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-11-25 14:30:57 +0000 |
| commit | 090942528d041dedcc50b8c7e437861b3d2ebffa (patch) | |
| tree | 7515f9075e827b7134438718fd428c68a5a85265 | |
| parent | 2b20086b05fb767e1d99911b193ee538d85d6fb2 (diff) | |
| download | fml8-090942528d041dedcc50b8c7e437861b3d2ebffa.tar.gz fml8-090942528d041dedcc50b8c7e437861b3d2ebffa.tar.bz2 fml8-090942528d041dedcc50b8c7e437861b3d2ebffa.zip | |
libexec/error emulator prototype
| -rwxr-xr-x | regress/simulation/emul_error.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/regress/simulation/emul_error.sh b/regress/simulation/emul_error.sh new file mode 100755 index 00000000..08b7413f --- /dev/null +++ b/regress/simulation/emul_error.sh @@ -0,0 +1,33 @@ +#!/bin/sh +# +# $FML$ +# + +DO () { + ( + pwd=`pwd` + cd ../.. || exit 1 + pwd + + test -f $msg || return; + + regress/message/scramble.pl $msg |\ + ${PERL:-perl} -w /usr/local/libexec/fml/error elena@home.fml.org + + echo "-- exit code: $?" + ) +} + +if [ "X$*" != X ];then + list=$* +else + pwd=`pwd` + list=$pwd/../errormails/postfix19991231 +fi + +for msg in $list +do + DO $msg +done + +exit 0 |
