[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Sun Mar 28 15:14:51 UTC 2021

New commits:
commit c60a54c91020451b5398c4cb81ab32d977c0e17c
Author: Andrew Cagney <cagney at gnu.org>
Date:   Sun Mar 28 11:11:47 2021 -0400

    testing: use same "set +m; tcpdump & wait" trick in all nflog tests
    	# 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
    	../../pluto/bin/ping-once.sh --up -I
    	# wait for count to reach tcpdump then dump it
    	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

More information about the Swan-commit mailing list