summaryrefslogtreecommitdiffstats
path: root/recipes-security/scapy/files/run-ptest
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-09-09 12:08:35 -0700
committerArmin Kuster <akuster808@gmail.com>2018-09-17 21:08:19 -0700
commit561d0806a9d4e6a954bc19bf951dc69f4e40d3eb (patch)
tree1d108db6d40d7c31785fbd82e86e0dfc855608e2 /recipes-security/scapy/files/run-ptest
parent32def3971b6f55863dce96b1c32358277a337092 (diff)
downloadmeta-security-561d0806a9d4e6a954bc19bf951dc69f4e40d3eb.tar.gz
scapy: update to 2.4.0 and covert
convert package to python standard Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/scapy/files/run-ptest')
-rwxr-xr-xrecipes-security/scapy/files/run-ptest4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-security/scapy/files/run-ptest b/recipes-security/scapy/files/run-ptest
new file mode 100755
index 0000000..91b29f9
--- /dev/null
+++ b/recipes-security/scapy/files/run-ptest
@@ -0,0 +1,4 @@
1#!/bin/sh
2UTscapy -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:/'