aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-02-17 10:45:54 +0000
committerKristof Provost <kp@FreeBSD.org>2021-02-17 13:04:33 +0000
commit4a7d84058d88244c405fc0b73d6985681eb661f5 (patch)
tree97b8dba3b0aff70164dd2d768fd1fbac17c12c07
parentc4e0f7aa1ae7729df8c3e525e511b84f8052375c (diff)
downloadsrc-4a7d84058d88244c405fc0b73d6985681eb661f5.tar.gz
src-4a7d84058d88244c405fc0b73d6985681eb661f5.zip
pf tests: Explicitly ask for python3
If we install the scapy package (which we do list as a dependency) we don't automatically install python (but we do have python3). MFC after: 1 week Sponsored by: Rubicon Communications, LLC (“Netgate”’)
-rw-r--r--tests/sys/netpfil/common/pft_ping.py2
-rw-r--r--tests/sys/netpfil/pf/CVE-2019-5597.py2
-rw-r--r--tests/sys/netpfil/pf/CVE-2019-5598.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/sys/netpfil/common/pft_ping.py b/tests/sys/netpfil/common/pft_ping.py
index 957123e4f6f8..916a019d2f4a 100644
--- a/tests/sys/netpfil/common/pft_ping.py
+++ b/tests/sys/netpfil/common/pft_ping.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# SPDX-License-Identifier: BSD-2-Clause
#
diff --git a/tests/sys/netpfil/pf/CVE-2019-5597.py b/tests/sys/netpfil/pf/CVE-2019-5597.py
index bb95e95c13b7..1050af506f8d 100644
--- a/tests/sys/netpfil/pf/CVE-2019-5597.py
+++ b/tests/sys/netpfil/pf/CVE-2019-5597.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
#
diff --git a/tests/sys/netpfil/pf/CVE-2019-5598.py b/tests/sys/netpfil/pf/CVE-2019-5598.py
index 53616e681609..ac1e4f3438f5 100644
--- a/tests/sys/netpfil/pf/CVE-2019-5598.py
+++ b/tests/sys/netpfil/pf/CVE-2019-5598.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
#