#!/bin/bash # # Tests that we can start, stop, and restart. set -e . "${0%/*}"/acommon test-prep rsyslog-capture-daemon service rsyslog force-reload perl /etc/hippotat/main.cfg -pe ' s{^addrs *=.*}{addrs = 127.0.0.1}; ' cat >>/etc/default/hippotatd <&1 ||: ) \ | tee /dev/stderr | grep 'Connection refused' t-ok