1
#! /bin/sh
2
3
# This is a rudimentary tests to see if fetchmail can parse a trivial
4
# configuration and dump it in human-readable and machine-readable form.
5
6
set -e
7
trap 'rm -f t.rc.$$' 0
8
cp "${srcdir}/t.rc" t.rc.$$
9
chmod 0400 t.rc.$$
10
./fetchmail -V -f t.rc.$$ >/dev/null
11
./fetchmail --configdump -f t.rc.$$ >/dev/null