mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
8d9a050a84
These test that ctdb_check_unix_socket() is working. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Tue Sep 12 16:14:12 CEST 2017 on sn-devel-144
16 lines
270 B
Bash
Executable File
16 lines
270 B
Bash
Executable File
#!/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
|