scapy/test/run_tests

9 lines
273 B
Plaintext
Raw Normal View History

2012-12-30 10:22:47 +00:00
#! /bin/bash
2009-02-05 16:03:59 +00:00
DIR=$(dirname $0)/..
if [ "$*" == "" ]
then
PYTHONPATH=$DIR exec python ${DIR}/scapy/tools/UTscapy.py -t regression.uts -f html -l -o /tmp/scapy_regression_test_$(date +%Y%m%d-%H%M%S).html
2009-02-05 16:03:59 +00:00
else
PYTHONPATH=$DIR exec python ${DIR}/scapy/tools/UTscapy.py "$@"
fi