| From 5f0f70192b0e20336e642b02ca9662ba2fef66cf Mon Sep 17 00:00:00 2001 |
| From: Yi Fan Yu <yifan.yu@windriver.com> |
| Date: Fri, 19 Feb 2021 15:21:18 -0500 |
| Subject: [PATCH] Add ptest for tcpdump |
| |
| Upstream-Status: Pending |
| |
| Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com> |
| Signed-off-by: Peiran Hong <peiran.hong@windriver.com> |
| |
| remove perl script not required by ptest causing QA problems |
| |
| reference upstream issue/commit: |
| https://github.com/the-tcpdump-group/tcpdump/issues/26 |
| |
| Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> |
| --- |
| Makefile.in | 11 ++++++++++- |
| 1 file changed, 10 insertions(+), 1 deletion(-) |
| |
| diff --git a/Makefile.in b/Makefile.in |
| index ea1ef1d0..e7987bd8 100644 |
| --- a/Makefile.in |
| +++ b/Makefile.in |
| @@ -445,9 +445,18 @@ distclean: |
| tests/failure-outputs.txt |
| rm -rf autom4te.cache tests/DIFF tests/NEW |
| |
| -check: tcpdump |
| +buildtest-TESTS: tcpdump |
| + |
| +runtest-PTEST: |
| $(srcdir)/tests/TESTrun |
| |
| +install-ptest: |
| + cp -r tests $(DESTDIR) |
| + rm $(DESTDIR)/tests/setkey2esp-secrets.pl |
| + cp -r config.h $(DESTDIR) |
| + install -m 0755 Makefile $(DESTDIR) |
| + ln -s /usr/bin/tcpdump $(DESTDIR)/tcpdump |
| + |
| extags: $(TAGFILES) |
| ctags $(TAGFILES) |
| |
| -- |
| 2.29.2 |
| |