#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" define_test "port 139 down, ctdb checktcpport/nmap not implemented, debug" ctdb_not_implemented "checktcpport" export FAKE_NMAP_NOT_FOUND="yes" # This has to go before the setup, otherwise it will write a dud file. export CTDB_DEBUGLEVEL=4 setup_nmap_output_filter setup_samba tcp_port_down 139 required_result 1 <