Mac OS improvement for test NETW-3012

This commit is contained in:
mboelen 2014-09-21 13:01:29 +02:00
parent 116b1eab97
commit 911a5e88f6

View File

@ -292,10 +292,12 @@
MacOS) MacOS)
if [ ! "${LSOFBINARY}" = "" ]; then if [ ! "${LSOFBINARY}" = "" ]; then
# UDP and TCP combined
FIND=`${LSOFBINARY} -i -P | awk '{ print $9"|"$8"|"$1"|" }' | sed 's/\(.*\)\-\>.*\(\|.*\)/\1\2/' | sed 's/\*/'$IP'/' | sort -u | grep -v "NAME"` FIND=`${LSOFBINARY} -i -P | awk '{ print $9"|"$8"|"$1"|" }' | sed 's/\(.*\)\-\>.*\(\|.*\)/\1\2/' | sed 's/\*/'$IP'/' | sort -u | grep -v "NAME"`
else else
FIND="" FIND=""
fi fi
# Not needed as we have a combined test
FIND2="" FIND2=""
;; ;;