1
0
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:
dmiller
2013-12-03 23:03:10 +00:00
parent 46eb0fed75
commit 89db1ca27c

View File

@@ -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" ]