From 0073e325daffb581dcc655cae6e109a1930df280 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sun, 30 May 2021 16:46:53 +0000 Subject: python3-scapy: move from meta-security This tracks the official scapy project. includes ptest Signed-off-by: Armin Kuster Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-networking/recipes-devtools/python/python3-scapy/run-ptest | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 meta-networking/recipes-devtools/python/python3-scapy/run-ptest (limited to 'meta-networking/recipes-devtools/python/python3-scapy') 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 @@ +#!/bin/sh +UTscapy3 -t regression.uts -f text -l -C \ + -o @PTEST_PATH@/scapy_ptest_$(date +%Y%m%d-%H%M%S).log \ + 2>&1 | sed -e 's/^passed None/PASS:/' -e 's/^failed None/FAIL:/' -- cgit v1.2.3-54-g00ecf