Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2021 13:01:31 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 98e40918a6fa - stable/13 - pf tests: Explicitly ask for python3
Message-ID:  <202102241301.11OD1Vci054518@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=98e40918a6fa5113404b0fae15707a9804f447bd

commit 98e40918a6fa5113404b0fae15707a9804f447bd
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-02-17 10:45:54 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-02-24 08:04:19 +0000

    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”’)
    
    (cherry picked from commit 4a7d84058d88244c405fc0b73d6985681eb661f5)
---
 tests/sys/netpfil/common/pft_ping.py  | 2 +-
 tests/sys/netpfil/pf/CVE-2019-5597.py | 2 +-
 tests/sys/netpfil/pf/CVE-2019-5598.py | 2 +-
 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
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102241301.11OD1Vci054518>