Skip to content

Commit

Permalink
pcap-dist
Browse files Browse the repository at this point in the history
- Change tests to not need to link to .pcap-dist
  • Loading branch information
jelu committed Jul 14, 2023
1 parent f781ead commit c9ed7be
Show file tree
Hide file tree
Showing 25 changed files with 1,081 additions and 1,085 deletions.
38 changes: 1 addition & 37 deletions src/test/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

CLEANFILES = test*.log test*.trs \
*.pcap-dist \
dns.out \
no-layers.out layers.out \
frags.out \
frags.out frags.gold \
padding-no-layers.out padding-layers.out \
vlan11.out \
dnspad.out \
Expand All @@ -22,41 +21,6 @@ TESTS = test1.sh test2.sh test3.sh test4.sh test5.sh test6.sh test7.sh \
test8.sh test9.sh test10.sh test11.sh test12.sh test13.sh test14.sh \
test_regex_match.sh

test1.sh: dns.pcap-dist

test2.sh: dns.pcap-dist

test3.sh: frags.pcap-dist

test4.sh: 1qtcppadd.pcap-dist

test5.sh: vlan11.pcap-dist

test6.sh: dnspad.pcap-dist

test7.sh: 1qtcpnosyn.pcap-dist dnso1tcp.pcap-dist \
do1t-nosyn-1nolen.pcap-dist dnso1tcp-midmiss.pcap-dist

test8.sh: dnsotcp-many1pkt.pcap-dist dnsotcp-manyopkts.pcap-dist \
dnso1tcp-bighole.pcap-dist

test9.sh: dns.pcap-dist

test10.sh: dns6.pcap-dist

test11.sh: dns.pcap-dist

test12.sh: dns.pcap-dist

test13.sh: dns.pcap-dist

test14.sh: dns.pcap-dist

test_regex_match.sh: dns.pcap-dist

.pcap.pcap-dist:
cp "$<" "$@"

EXTRA_DIST = $(TESTS) \
dns.gold dns.pcap \
frags.pcap \
Expand Down
Loading

0 comments on commit c9ed7be

Please sign in to comment.