summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-devtools/python/python3-scapy
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2021-05-30 16:46:53 +0000
committerKhem Raj <raj.khem@gmail.com>2021-05-31 07:38:06 -0700
commit0073e325daffb581dcc655cae6e109a1930df280 (patch)
tree48e0a3f23dbba89b71dd87e06f22d438635b753f /meta-networking/recipes-devtools/python/python3-scapy
parentb3375a4adc915ba19afd51471613edaa221658c8 (diff)
downloadmeta-openembedded-0073e325daffb581dcc655cae6e109a1930df280.tar.gz
python3-scapy: move from meta-security
This tracks the official scapy project. includes ptest Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-networking/recipes-devtools/python/python3-scapy')
-rw-r--r--meta-networking/recipes-devtools/python/python3-scapy/run-ptest4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-devtools/python/python3-scapy/run-ptest b/meta-networking/recipes-devtools/python/python3-scapy/run-ptest
new file mode 100644
index 0000000000..797d8ecf78
--- /dev/null
+++ b/meta-networking/recipes-devtools/python/python3-scapy/run-ptest
@@ -0,0 +1,4 @@
1#!/bin/sh
2UTscapy3 -t regression.uts -f text -l -C \
3 -o @PTEST_PATH@/scapy_ptest_$(date +%Y%m%d-%H%M%S).log \
4 2>&1 | sed -e 's/^passed None/PASS:/' -e 's/^failed None/FAIL:/'