mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Tests - eventscripts - Samba TCP port checking fixes
Expect "ctdb checktcpport" to exit with 1 if not implemented. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 20885d592040eb3945524c558b593a1d50a57b43)
This commit is contained in:
parent
5de459f94e
commit
857e144a97
@ -17,7 +17,7 @@ tcp_port_down 139
|
||||
required_result 1 <<EOF
|
||||
DEBUG: ctdb_check_ports - checker ctdb not implemented
|
||||
DEBUG: output from checker was:
|
||||
DEBUG: ctdb checktcpport 445 (exited with 0) with output:
|
||||
DEBUG: ctdb checktcpport 445 (exited with 1) with output:
|
||||
$ctdb_not_implemented
|
||||
ERROR: samba tcp port 139 is not responding
|
||||
DEBUG: nmap -n -oG - -PS 127.0.0.1 -p 445,139 shows this output:
|
||||
|
@ -18,7 +18,7 @@ tcp_port_down 139
|
||||
required_result 1 <<EOF
|
||||
DEBUG: ctdb_check_ports - checker ctdb not implemented
|
||||
DEBUG: output from checker was:
|
||||
DEBUG: ctdb checktcpport 445 (exited with 0) with output:
|
||||
DEBUG: ctdb checktcpport 445 (exited with 1) with output:
|
||||
$ctdb_not_implemented
|
||||
DEBUG: ctdb_check_ports - checker nmap not implemented
|
||||
DEBUG: output from checker was:
|
||||
|
Loading…
Reference in New Issue
Block a user