t.smoke   [plain text]


#! /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
trap 'rm -f t.rc.$$' 0
cp "${srcdir}/t.rc" t.rc.$$
chmod 0400 t.rc.$$
./fetchmail -V -f t.rc.$$ >/dev/null
./fetchmail --configdump -f t.rc.$$ >/dev/null