16 lines
666 B
Text
16 lines
666 B
Text
$NetBSD: patch-af,v 1.3 2016/05/09 11:07:51 adam Exp $
|
|
|
|
--- test/run_tests.orig 2016-01-15 13:10:59.000000000 +0000
|
|
+++ test/run_tests
|
|
@@ -1,8 +1,8 @@
|
|
#! /bin/bash
|
|
DIR=$(dirname $0)/..
|
|
-if [ "$*" == "" ]
|
|
+if [ "$*" = "" ]
|
|
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
|
|
+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
|
|
-PYTHONPATH=$DIR exec python ${DIR}/scapy/tools/UTscapy.py "$@"
|
|
+PYTHONPATH=$DIR exec ${PYTHON} ${DIR}/scapy/tools/UTscapy.py "$@"
|
|
fi
|