git: 621562a0a05f - stable/12 - pf tests: Explicitly ask for python3

Kristof Provost kp at FreeBSD.org
Mon May 24 16:44:48 UTC 2021


The branch stable/12 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=621562a0a05fcb569fe40548448774ac03396b8a

commit 621562a0a05fcb569fe40548448774ac03396b8a
Author:     Kristof Provost <kp at FreeBSD.org>
AuthorDate: 2021-02-17 10:45:54 +0000
Commit:     Kristof Provost <kp at FreeBSD.org>
CommitDate: 2021-05-24 16:00:38 +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 fa0ba6c4c1fc..badc451b9d57 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 f53fff32ce19..1b25809cbedf 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 6eb8e7862b6b..603a1aef376f 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
 #


More information about the dev-commits-src-all mailing list