single.sh (mrouted-4.3) | : | single.sh (mrouted-4.4) | ||
---|---|---|---|---|
skipping to change at line 79 | skipping to change at line 79 | |||
echo $! >> "/tmp/$NM/PIDs" | echo $! >> "/tmp/$NM/PIDs" | |||
nsenter --net="$right" -- tshark -lni eth0 -w "/tmp/$NM/right.pcap" 2>/dev/null & | nsenter --net="$right" -- tshark -lni eth0 -w "/tmp/$NM/right.pcap" 2>/dev/null & | |||
echo $! >> "/tmp/$NM/PIDs" | echo $! >> "/tmp/$NM/PIDs" | |||
sleep 1 | sleep 1 | |||
print "Starting mrouted ..." | print "Starting mrouted ..." | |||
../src/mrouted -i solo -f "/tmp/$NM/conf" -n -p "/tmp/$NM/pid" -l debug -u "/tmp /$NM/sock" & | ../src/mrouted -i solo -f "/tmp/$NM/conf" -n -p "/tmp/$NM/pid" -l debug -u "/tmp /$NM/sock" & | |||
sleep 1 | sleep 1 | |||
print "Starting emitter ..." | print "Starting emitter ..." | |||
nsenter --net="$right" -- ./mping -qr -d -i eth0 -t 3 -W 30 225.1.2.3 & | nsenter --net="$right" -- ./mping -qr -i eth0 -t 3 -W 30 225.1.2.3 & | |||
echo $! >> "/tmp/$NM/PIDs" | echo $! >> "/tmp/$NM/PIDs" | |||
sleep 1 | sleep 1 | |||
if ! nsenter --net="$left" -- ./mping -s -d -i eth0 -t 3 -c 10 -w 15 225.1.2.3; then | if ! nsenter --net="$left" -- ./mping -s -i eth0 -t 3 -c 10 -w 15 225.1.2.3; th en | |||
show_mroute | show_mroute | |||
../src/mroutectl -u "/tmp/$NM/sock" | ../src/mroutectl -u "/tmp/$NM/sock" | |||
echo "Failed routing, expected at least 10 multicast ping replies" | echo "Failed routing, expected at least 10 multicast ping replies" | |||
FAIL | FAIL | |||
fi | fi | |||
../src/mroutectl -u "/tmp/$NM/sock" show compat detail | ../src/mroutectl -u "/tmp/$NM/sock" show compat detail | |||
kill_pids | kill_pids | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |