mirror of
https://github.com/nmap/nmap.git
synced 2026-09-04 01:14:37 +00:00
Don't fail nsock/tests/run_tests if ncat can't be found
This commit is contained in:
parent
46eb0fed75
commit
89db1ca27c
1 changed files with 5 additions and 0 deletions
|
|
@ -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" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue