xref: /minix/external/bsd/tcpdump/dist/tests/nflog-e.sh (revision bb9622b5)
1#!/bin/sh
2
3# NFLOG support depends on both DLT_NFLOG and working <pcap/nflog.h>
4
5if grep '^#define HAVE_PCAP_NFLOG_H 1$' ../config.h >/dev/null
6then
7  ./TESTonce nflog-e nflog.pcap nflog-e.out '-t -e'
8else
9	printf '    %-30s: TEST SKIPPED (compiled w/o NFLOG)\n' 'nflog-e'
10fi
11