]> Pileus Git - ~andy/fetchmail/blob - t.smoke
c0ed8a66f3e82c2d3cf7b7e5b287dbbb7e76712f
[~andy/fetchmail] / t.smoke
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