diff options
author | vg <vgm+dev@devys.org> | 2024-03-29 11:16:52 +0100 |
---|---|---|
committer | vg <vgm+dev@devys.org> | 2024-03-29 11:16:52 +0100 |
commit | 8eae1aca826e08d953a43978bae554f20d07897a (patch) | |
tree | bcbb8a580d5b29f35bb90d6ef1a05d80aed67e66 /debian/tests/installation | |
parent | 9f542a1e74323a7247a19de9d7349a7269c63002 (diff) | |
download | fetchmail-8eae1aca826e08d953a43978bae554f20d07897a.tar.gz fetchmail-8eae1aca826e08d953a43978bae554f20d07897a.tar.bz2 fetchmail-8eae1aca826e08d953a43978bae554f20d07897a.zip |
get debian directory from debian archive
Diffstat (limited to 'debian/tests/installation')
-rw-r--r-- | debian/tests/installation | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/tests/installation b/debian/tests/installation new file mode 100644 index 00000000..271fc6ca --- /dev/null +++ b/debian/tests/installation @@ -0,0 +1,23 @@ +#!/bin/sh + +############################################ +### Check main installation requirements ### +############################################ + +set -e + +# Config file +echo "Checking config file present" +test -e /etc/default/fetchmail + +# Service +echo "Checking service scripts are installed" +test -e /etc/init.d/fetchmail +test -e /etc/ppp/ip-down.d/fetchmail + +# Script +echo "Checking fetchmail is present" +test -e /usr/bin/fetchmail +fetchmail --version > /dev/null 2>&1 +c=$(fetchmail --help 2>&1 | wc -l) +test $c -gt 5 |