setup_samba
tcp_port_down 445
-required_result 1 <<EOF
-ERROR: samba tcp port 445 is not responding
-netstat -l -t -n shows this output:
-Active Internet connections (servers only)
-Proto Recv-Q Send-Q Local Address Foreign Address State
-tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
-EOF
+required_result 1 "ERROR: samba tcp port 445 is not responding"
simple_test
setup_samba
tcp_port_down 139
-required_result 1 <<EOF
-ERROR: samba tcp port 139 is not responding
-netstat -l -t -n shows this output:
-Active Internet connections (servers only)
-Proto Recv-Q Send-Q Local Address Foreign Address State
-tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
-EOF
+required_result 1 "ERROR: samba tcp port 139 is not responding"
simple_test