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>
This commit is contained in:
Armin Kuster
2021-05-30 16:46:53 +00:00
committed by Khem Raj
parent b3375a4adc
commit 0073e325da
2 changed files with 45 additions and 0 deletions

View File

@@ -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:/'