aboutsummaryrefslogtreecommitdiffstats
path: root/t.smoke
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-11-27 15:23:27 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-11-27 15:23:27 +0000
commitf750540a7bb3dd465cb562681a2606bd313469ad (patch)
tree6134b14fec0605fac81052cd5648f8275b9963a7 /t.smoke
parentac97ca8cae0b55f18bd3cd6a33363ea97136b1c9 (diff)
downloadfetchmail-f750540a7bb3dd465cb562681a2606bd313469ad.tar.gz
fetchmail-f750540a7bb3dd465cb562681a2606bd313469ad.tar.bz2
fetchmail-f750540a7bb3dd465cb562681a2606bd313469ad.zip
Add rudimentary autobuild support.
Add a trivial self test, required for autobuild. svn path=/trunk/; revision=4479
Diffstat (limited to 't.smoke')
-rwxr-xr-xt.smoke11
1 files changed, 11 insertions, 0 deletions
diff --git a/t.smoke b/t.smoke
new file mode 100755
index 00000000..f7924a3c
--- /dev/null
+++ b/t.smoke
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+# This is a rudimentary tests to see if fetchmail can parse a trivial
+# configuration and dump it in human-readable and machine-readable form.
+
+set -e
+cp "${srcdir}/t.rc" t.rc.$$
+chmod 0400 t.rc.$$
+./fetchmail -V -f t.rc.$$ >/dev/null
+./fetchmail --configdump -f t.rc.$$ >/dev/null
+rm -f t.rc.$$