Travis-CI: Debug networking capabilities

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-10-31 10:09:46 +01:00
parent 495325dc51
commit ba9e494db2

View File

@ -4,10 +4,13 @@ set -ex
MSG="kilroy" MSG="kilroy"
/sbin/ifconfig -a
tshark -Qni lo -w ${CAP} port ${PORT} 2>/dev/null & tshark -Qni lo -w ${CAP} port ${PORT} 2>/dev/null &
#tcpdump -qlni lo -w ${CAP} port ${PORT} 2>/dev/null & #tcpdump -qlni lo -w ${CAP} port ${PORT} 2>/dev/null &
PID="$!" PID="$!"
sleep 5 sleep 5
ps fax |grep -A3 tshark
../src/logger -u ${SOCK} ${MSG} ../src/logger -u ${SOCK} ${MSG}