mirror of https://github.com/secdev/scapy.git
11 lines
342 B
Bash
Executable File
11 lines
342 B
Bash
Executable File
#! /bin/sh
|
|
DIR=$(dirname $0)/..
|
|
PYTHON=${PYTHON:-python}
|
|
PYTHONDONTWRITEBYTECODE="True"
|
|
if [ -z "$*" ]
|
|
then
|
|
PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py -t regression.uts -f html -K ipv6 -l -o /tmp/scapy_regression_test_$(date +%Y%m%d-%H%M%S).html
|
|
else
|
|
PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py "$@"
|
|
fi
|