diff options
| -rw-r--r-- | meta-networking/recipes-filter/nftables/nftables/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables/run-ptest b/meta-networking/recipes-filter/nftables/nftables/run-ptest index 27d780ace0..3217c743dd 100644 --- a/meta-networking/recipes-filter/nftables/nftables/run-ptest +++ b/meta-networking/recipes-filter/nftables/nftables/run-ptest | |||
| @@ -4,7 +4,7 @@ NFTABLESLIB=@libdir@/nftables | |||
| 4 | cd ${NFTABLESLIB}/ptest | 4 | cd ${NFTABLESLIB}/ptest |
| 5 | 5 | ||
| 6 | LOG="${NFTABLESLIB}/ptest/nftables_ptest_$(date +%Y%m%d-%H%M%S).log" | 6 | LOG="${NFTABLESLIB}/ptest/nftables_ptest_$(date +%Y%m%d-%H%M%S).log" |
| 7 | tests/shell/run-tests.sh -v | sed -e '/OK/ s/^/PASS: / ; /FAILED/ s/^/FAIL: /' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | tee -a ${LOG} | 7 | tests/shell/run-tests.sh -v | sed -E '/I: \[OK\]/ s/^/PASS: / ; /W: \[(CHK DUMP|VALGRIND|TAINTED|DUMP FAIL|FAILED)\]/ s/^/FAIL: /' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | tee -a ${LOG} |
| 8 | 8 | ||
| 9 | passed=`grep PASS: ${LOG}|wc -l` | 9 | passed=`grep PASS: ${LOG}|wc -l` |
| 10 | failed=`grep FAIL: ${LOG}|wc -l` | 10 | failed=`grep FAIL: ${LOG}|wc -l` |
