mirror of https://github.com/secdev/scapy.git
9 lines
270 B
Bash
Executable File
9 lines
270 B
Bash
Executable File
#! /bin/bash
|
|
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
|