summaryrefslogtreecommitdiff
path: root/regress/simulation
diff options
context:
space:
mode:
authorfukachan <fukachan>2005-08-18 10:49:30 +0000
committerfukachan <fukachan>2005-08-18 10:49:30 +0000
commit3fcb5da9697045d604aa975e99074c6eb4ebd71b (patch)
tree47b8ae17a62f9007e117cf146a10f6d267a22528 /regress/simulation
parent73e26166610a72e448c8816688eaf5bb63e33e79 (diff)
downloadfml8-3fcb5da9697045d604aa975e99074c6eb4ebd71b.tar.gz
fml8-3fcb5da9697045d604aa975e99074c6eb4ebd71b.tar.bz2
fml8-3fcb5da9697045d604aa975e99074c6eb4ebd71b.zip
fetchfml test.
Diffstat (limited to 'regress/simulation')
-rwxr-xr-xregress/simulation/emul_fetchfml.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/regress/simulation/emul_fetchfml.sh b/regress/simulation/emul_fetchfml.sh
new file mode 100755
index 00000000..e66ce646
--- /dev/null
+++ b/regress/simulation/emul_fetchfml.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FML$
+#
+
+echo "# reset message-id database"
+find /var/spool/ml/elena/var/db/message_id/ | perl -nple unlink ;
+
+echo "# reset library"
+sh reset_lib.sh ;
+
+printf "\n%s\n\n" "# start emulation";
+
+/usr/local/libexec/fml/fetchfml elena@home.fml.org --article-post
+
+/usr/local/libexec/fml/fetchfml elena@home.fml.org --command-mail
+
+/usr/local/libexec/fml/fetchfml elena@home.fml.org --error
+
+exit 0;