diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-09-09 12:08:35 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-09-17 21:08:19 -0700 |
commit | 561d0806a9d4e6a954bc19bf951dc69f4e40d3eb (patch) | |
tree | 1d108db6d40d7c31785fbd82e86e0dfc855608e2 /recipes-security/scapy/files/run-ptest | |
parent | 32def3971b6f55863dce96b1c32358277a337092 (diff) | |
download | meta-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-x | recipes-security/scapy/files/run-ptest | 4 |
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 | ||
2 | UTscapy -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:/' | ||