From 54a778010aac184a17ff1c2ef25bfe03aac415d3 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Mon, 30 Nov 2020 16:56:43 -0500 Subject: [PATCH] tests: Fix unversioned python shebang lines - Unversioned python shebang lines may cause mixed python 2.7 and python 3 execution in make test. Type: fix Signed-off-by: Dave Wallace Change-Id: Ia82c37be33902718c48878378b8343eedb76c2c8 --- src/plugins/srv6-mobile/test/test_srv6_mobile.py | 2 +- test/template_classifier.py | 2 +- test/test_srv6_un.py | 2 +- test/vpp_teib.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/srv6-mobile/test/test_srv6_mobile.py b/src/plugins/srv6-mobile/test/test_srv6_mobile.py index ec94b8b9c03..fb1abf98e0f 100644 --- a/src/plugins/srv6-mobile/test/test_srv6_mobile.py +++ b/src/plugins/srv6-mobile/test/test_srv6_mobile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from framework import VppTestCase from ipaddress import IPv4Address diff --git a/test/template_classifier.py b/test/template_classifier.py index 3ba985bbe33..b8f79b4f99f 100644 --- a/test/template_classifier.py +++ b/test/template_classifier.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import binascii import socket diff --git a/test/test_srv6_un.py b/test/test_srv6_un.py index 5248e68c474..73285bbac87 100644 --- a/test/test_srv6_un.py +++ b/test/test_srv6_un.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from framework import VppTestCase from ipaddress import IPv4Address diff --git a/test/vpp_teib.py b/test/vpp_teib.py index 0fe733388e3..ee2d89fe080 100644 --- a/test/vpp_teib.py +++ b/test/vpp_teib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ TEIB objects """ -- 2.16.6