Correct reproducer to pass
Skip inclusion of TCP control port, which makes the test failing. It is not wanted in the test anyway.
This commit is contained in:
parent
4e305a97d5
commit
c9d17c4eb0
1 changed files with 14 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
# Pause bind on loading this file
|
||||
mkfifo _bind.nta
|
||||
|
||||
named -g -c <(echo "options { port 5300; listen-on { any; }; listen-on-v6 { any; }; };") -n 1 &
|
||||
named -g -c <(echo "options { port 5300; listen-on { any; }; listen-on-v6 { any; }; }; controls {};") -n 1 &
|
||||
NAMED_PID=$!
|
||||
|
||||
sleep 2
|
||||
|
|
@ -20,6 +20,19 @@ TCP=$(lsof -n -p ${NAMED_PID} | grep 'TCP 127.0.0.' | wc -l)
|
|||
UDP=$(lsof -n -p ${NAMED_PID} | grep 'UDP 127.0.0.' | wc -l)
|
||||
echo "TCP: $TCP UDP: $UDP"
|
||||
|
||||
if [ "$DEBUG" = y ]; then
|
||||
TCPL=$(lsof -n -p ${NAMED_PID} | grep 'TCP 127.0.0.')
|
||||
UDPL=$(lsof -n -p ${NAMED_PID} | grep 'UDP 127.0.0.')
|
||||
|
||||
cat << EOF
|
||||
TCP:
|
||||
${TCPL}
|
||||
|
||||
UDP:
|
||||
${UDPL}
|
||||
EOF
|
||||
fi
|
||||
|
||||
sleep 5
|
||||
#echo "Done adding addresses, press ENTER to terminate."
|
||||
#read
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue