summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/UNIT/eventscripts/31.clamd.monitor.002.sh
blob: 48d3cbf189120c5a22cddf00bd91ed3c4fd91885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "Managed, clamd not listening"

setup

setup_script_options <<EOF
CTDB_CLAMD_SOCKET="/var/run/clamd.sock"
EOF

required_result 1 <<EOF
ERROR: clamd not listening on $CTDB_CLAMD_SOCKET
EOF
simple_test