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