commit | b5f59b6bdb4f84b6f4acdb3ddbe2c5326e8fbfd2 | [log] [tgz] |
---|---|---|
author | Phil <phil@secdev.org> | Thu Feb 05 17:03:59 2009 +0100 |
committer | Phil <phil@secdev.org> | Thu Feb 05 17:03:59 2009 +0100 |
tree | 220b495cbcc21b0b85d19089a7ba4a8d92ba2bcc | |
parent | 571ee9a1f1431f1ec7e654b5ee991e2118b994ef [diff] [blame] |
Added regression tests
diff --git a/test/run_tests b/test/run_tests new file mode 100755 index 0000000..46b9dcb --- /dev/null +++ b/test/run_tests
@@ -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