tests/pcap: fix the abort case