aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/scapy/scapy/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/scapy/scapy/run-ptest')
-rwxr-xr-xrecipes-security/scapy/scapy/run-ptest4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-security/scapy/scapy/run-ptest b/recipes-security/scapy/scapy/run-ptest
new file mode 100755
index 0000000..91b29f9
--- /dev/null
+++ b/recipes-security/scapy/scapy/run-ptest
@@ -0,0 +1,4 @@
+#!/bin/sh
+UTscapy -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:/'