mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
df39a671db
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit eb13507713ba6732271b7c3024bfddbda6da5ffc)
19 lines
370 B
Bash
Executable File
19 lines
370 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "port 139 down, default tcp checker, debug"
|
|
|
|
# This has to go before the setup, otherwise it will write a dud file.
|
|
export CTDB_DEBUGLEVEL=4
|
|
|
|
setup_samba
|
|
tcp_port_down 139
|
|
|
|
required_result 1 <<EOF
|
|
ERROR: samba tcp port 139 is not responding
|
|
DEBUG: "ctdb checktcpport 139" was able to bind to port
|
|
EOF
|
|
|
|
simple_test
|