pkgsrc/net/scapy/patches/patch-test_run__tests

16 lines
406 B
Text

$NetBSD: patch-test_run__tests,v 1.2 2021/05/02 19:28:15 gutteridge Exp $
Ensure command line arguments are passed to the test script.
https://github.com/secdev/scapy/pull/3196
--- test/run_tests.orig 2021-04-18 18:36:15.000000000 +0000
+++ test/run_tests
@@ -27,6 +27,8 @@ then
esac
done
PYTHON=${PYTHON:-python3}
+else
+ ARGS="$@"
fi
$PYTHON --version > /dev/null 2>&1
if [ ! $? -eq 0 ]