New commits: commit c60a54c91020451b5398c4cb81ab32d977c0e17c Author: Andrew Cagney <cag...@gnu.org> Date: Sun Mar 28 11:11:47 2021 -0400
testing: use same "set +m; tcpdump & wait" trick in all nflog tests vis: # suppress job monitoring; specify packet count rm -f /tmp/nflog-50.pcap /tmp/tcpdump.log set +m tcpdump -c 4 -s 0 -w /tmp/nflog-50.pcap -i nflog:50 > /tmp/tcpdump.log 2>&1 & ../../pluto/bin/wait-for.sh --match 'listening on' -- cat /tmp/tcpdump.log ../../pluto/bin/ping-once.sh --up -I 192.0.1.254 192.0.2.254 ../../pluto/bin/ping-once.sh --up -I 192.0.1.254 192.0.2.254 # wait for count to reach tcpdump then dump it wait cp /tmp/nflog-50.pcap OUTPUT/nflog-50.pcap tcpdump -n -r OUTPUT/nflog-50.pcap 2>/dev/null perhaps this should be a script _______________________________________________ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org/mailman/listinfo/swan-commit