]>
The Tcpdump Group git mirrors - tcpdump/blob - tests/nflog-e.sh
5 : echo $0 using
${srcdir}
7 testdir
=${srcdir}/tests
8 passedfile
=tests
/.passed
9 failedfile
=tests
/.failed
10 passed
=`cat ${passedfile}`
11 failed
=`cat ${failedfile}`
13 # NFLOG support depends on both DLT_NFLOG and working <pcap/nflog.h>
15 if grep '^#define HAVE_PCAP_NFLOG_H 1$' config.h
>/dev
/null
17 if ${testdir}/TESTonce nflog-e ${testdir}/nflog.pcap ${testdir}/nflog-e.out
'-e'
19 passed
=`expr $passed + 1`
20 echo $passed >${passedfile}
22 failed
=`expr $failed + 1`
23 echo $failed >${failedfile}
27 printf ' %-35s: TEST SKIPPED (compiled w/o NFLOG)\n' 'nflog-e'