mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 05:09:02 +00:00
Don't fail nsock/tests/run_tests if ncat can't be found
This commit is contained in:
@@ -11,6 +11,11 @@ PORT_TCPSSL=$(grep "PORT_TCPSSL " test-common.h | awk '{print $3}')
|
||||
EXEC_MAIN=./tests_main
|
||||
|
||||
NCAT=${NCAT:-ncat}
|
||||
if [ ! -x "$NCAT" -a -z "$(which $NCAT)" ]; then
|
||||
echo "Can't find your ncat: $NCAT"
|
||||
echo "Skipping nsock tests."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
if [ -n "$1" ]
|
||||
|
||||
Reference in New Issue
Block a user