diff options
Diffstat (limited to 'meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch')
| -rw-r--r-- | meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch index f8ff354fe1..c46de4b963 100644 --- a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch +++ b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From 8c9c728757f89ebe6c4019114b83a63c63596f69 Mon Sep 17 00:00:00 2001 | 1 | From 5f0f70192b0e20336e642b02ca9662ba2fef66cf Mon Sep 17 00:00:00 2001 |
| 2 | From: "Hongjun.Yang" <hongjun.yang@windriver.com> | 2 | From: Yi Fan Yu <yifan.yu@windriver.com> |
| 3 | Date: Wed, 2 Oct 2019 16:57:06 -0400 | 3 | Date: Fri, 19 Feb 2021 15:21:18 -0500 |
| 4 | Subject: [PATCH] Add ptest for tcpdump | 4 | Subject: [PATCH] Add ptest for tcpdump |
| 5 | 5 | ||
| 6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
| @@ -8,15 +8,21 @@ Upstream-Status: Pending | |||
| 8 | Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com> | 8 | Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com> |
| 9 | Signed-off-by: Peiran Hong <peiran.hong@windriver.com> | 9 | Signed-off-by: Peiran Hong <peiran.hong@windriver.com> |
| 10 | 10 | ||
| 11 | remove perl script not required by ptest causing QA problems | ||
| 12 | |||
| 13 | reference upstream issue/commit: | ||
| 14 | https://github.com/the-tcpdump-group/tcpdump/issues/26 | ||
| 15 | |||
| 16 | Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> | ||
| 11 | --- | 17 | --- |
| 12 | Makefile.in | 10 +++++++++- | 18 | Makefile.in | 11 ++++++++++- |
| 13 | 1 file changed, 9 insertions(+), 1 deletion(-) | 19 | 1 file changed, 10 insertions(+), 1 deletion(-) |
| 14 | 20 | ||
| 15 | diff --git a/Makefile.in b/Makefile.in | 21 | diff --git a/Makefile.in b/Makefile.in |
| 16 | index 3b589184..7b10e38c 100644 | 22 | index ea1ef1d0..e7987bd8 100644 |
| 17 | --- a/Makefile.in | 23 | --- a/Makefile.in |
| 18 | +++ b/Makefile.in | 24 | +++ b/Makefile.in |
| 19 | @@ -437,9 +437,17 @@ distclean: | 25 | @@ -445,9 +445,18 @@ distclean: |
| 20 | tests/failure-outputs.txt | 26 | tests/failure-outputs.txt |
| 21 | rm -rf autom4te.cache tests/DIFF tests/NEW | 27 | rm -rf autom4te.cache tests/DIFF tests/NEW |
| 22 | 28 | ||
| @@ -24,14 +30,18 @@ index 3b589184..7b10e38c 100644 | |||
| 24 | +buildtest-TESTS: tcpdump | 30 | +buildtest-TESTS: tcpdump |
| 25 | + | 31 | + |
| 26 | +runtest-PTEST: | 32 | +runtest-PTEST: |
| 27 | (mkdir -p tests && SRCDIR=`cd ${srcdir}; pwd` && export SRCDIR && $$SRCDIR/tests/TESTrun.sh ) | 33 | $(srcdir)/tests/TESTrun |
| 28 | 34 | ||
| 29 | +install-ptest: | 35 | +install-ptest: |
| 30 | + cp -r tests $(DESTDIR) | 36 | + cp -r tests $(DESTDIR) |
| 37 | + rm $(DESTDIR)/tests/setkey2esp-secrets.pl | ||
| 31 | + cp -r config.h $(DESTDIR) | 38 | + cp -r config.h $(DESTDIR) |
| 32 | + install -m 0755 Makefile $(DESTDIR) | 39 | + install -m 0755 Makefile $(DESTDIR) |
| 33 | + ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump | 40 | + ln -s /usr/bin/tcpdump $(DESTDIR)/tcpdump |
| 34 | + | 41 | + |
| 35 | extags: $(TAGFILES) | 42 | extags: $(TAGFILES) |
| 36 | ctags $(TAGFILES) | 43 | ctags $(TAGFILES) |
| 37 | 44 | ||
| 45 | -- | ||
| 46 | 2.29.2 | ||
| 47 | |||
