aboutsummaryrefslogtreecommitdiffstats
path: root/t.smoke
blob: f7924a3c707f1b48ca7882e6d88ddcab2c11108d (plain)
1
2
3
4
5
6
7
8
9
10
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.$$