Skip to content
Snippets Groups Projects
Commit acca0d52 authored by Pierre Lalet's avatar Pierre Lalet
Browse files

Merge pull request #112 from guedou/run_tests_binsh

Don't use /bin/bash in run_tests
parents acbf4a23 0d5cc451
No related branches found
No related tags found
No related merge requests found
#! /bin/bash
#! /bin/sh
DIR=$(dirname $0)/..
if python --version 2>&1 | grep -q '^Python 2'; then
PYTHON=python
else
PYTHON=python2
fi
if [ "$*" == "" ]
if [ ! -n "$*" ]
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
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment