aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools/test/testmda
diff options
context:
space:
mode:
authorGraham Wilson <graham@mknod.org>2004-08-30 01:34:48 +0000
committerGraham Wilson <graham@mknod.org>2004-08-30 01:34:48 +0000
commitc3a80da98846c21a5d3f32a91669d78774a0aa6a (patch)
tree72bee6836c468c8527560821cd65618f2c7b115d /dist-tools/test/testmda
parentfd2543489b53fe34a18b7204d6803bf527c0d198 (diff)
downloadfetchmail-c3a80da98846c21a5d3f32a91669d78774a0aa6a.tar.gz
fetchmail-c3a80da98846c21a5d3f32a91669d78774a0aa6a.tar.bz2
fetchmail-c3a80da98846c21a5d3f32a91669d78774a0aa6a.zip
Move a handful of scripts (used for releases, testing, etc.) to dist-tools, so that they are not released in the tarball.
svn path=/trunk/; revision=3934
Diffstat (limited to 'dist-tools/test/testmda')
-rwxr-xr-xdist-tools/test/testmda10
1 files changed, 10 insertions, 0 deletions
diff --git a/dist-tools/test/testmda b/dist-tools/test/testmda
new file mode 100755
index 00000000..98a7c760
--- /dev/null
+++ b/dist-tools/test/testmda
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Test MDA for debugging fetchmail configurations.
+echo "[testmda called with the following arguments: $*]"
+
+# Display the input
+cat >/tmp/testmda$$
+echo "[text is "`wc -c </tmp/testmda$$`" bytes long]"
+cat /tmp/testmda$$
+rm /tmp/testmda$$
+