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

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "Managed, clamd not listening"

export CTDB_MANAGES_CLAMD=yes
export CTDB_CLAMD_SOCKET="/var/run/clamd.sock"

setup_generic

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