smbd: Simplify validate_lock_entries
[Samba.git] / ctdb / tests / eventscripts / 50.samba.monitor.107.sh
blob573ff80e4fc0119035a46ada7f8c5a9879bc32a8
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "port 139 down, default tcp checker, debug"
7 export CTDB_SCRIPT_DEBUGLEVEL=4
9 setup_samba
10 tcp_port_down 139
12 required_result 1 <<EOF
13 ERROR: samba tcp port 139 is not responding
14 DEBUG: "ctdb checktcpport 139" was able to bind to port
15 EOF
17 simple_test