Added regression tests

This commit is contained in:
Phil 2009-02-05 17:03:59 +01:00
parent 571ee9a1f1
commit b5f59b6bdb
2 changed files with 4085 additions and 0 deletions

4077
test/regression.uts Normal file

File diff suppressed because it is too large Load Diff

8
test/run_tests Executable file
View File

@ -0,0 +1,8 @@
#! /bin/sh
DIR=$(dirname $0)/..
if [ "$*" == "" ]
then
PYTHONPATH=$DIR exec python ${DIR}/scapy/tools/UTscapy.py -t regression.uts -f html -o /tmp/scapy_regression_test_$(date +%Y%M%d-%H%H%S).html
else
PYTHONPATH=$DIR exec python ${DIR}/scapy/tools/UTscapy.py "$@"
fi