1 #! /bin/sh 2 DIR=$(dirname $0)/.. 3 PYTHON=${PYTHON:-python} 4 PYTHONDONTWRITEBYTECODE="True" 5 if [ -z "$*" ] 6 then 7 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 8 else 9 PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py "$@" 10 fi 11