blob: 358f6050f67b930906106aea8cf805dc9d6050c6 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 7b259580800e259d232229dc89f97058b56e2fe8 Mon Sep 17 00:00:00 2001
2From: "Hongjun.Yang" <hongjun.yang@windriver.com>
3Date: Wed, 22 Oct 2014 10:02:48 +0800
4Subject: [PATCH] Add ptest for tcpdump
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com>
9---
10 Makefile.in | 10 +++++++++-
11 1 file changed, 9 insertions(+), 1 deletion(-)
12
13diff --git a/Makefile.in b/Makefile.in
14index 8c35a45..4fb8ae6 100644
15--- a/Makefile.in
16+++ b/Makefile.in
17@@ -428,9 +428,17 @@ distclean:
18 tests/failure-outputs.txt
19 rm -rf autom4te.cache tests/DIFF tests/NEW
20
21-check: tcpdump
22+buildtest-TESTS: tcpdump
23+
24+runtest-PTEST:
25 (cd tests && ./TESTrun.sh)
26
27+install-ptest:
28+ cp -r tests $(DESTDIR)
29+ cp -r config.h $(DESTDIR)
30+ install -m 0755 Makefile $(DESTDIR)
31+ ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump
32+
33 tags: $(TAGFILES)
34 ctags -wtd $(TAGFILES)
35
36--
371.9.1
38