From: Tom Hromatka Date: Thu, 19 Sep 2019 20:51:55 +0000 (-0600) Subject: tests: Use python3 in the functional tests X-Git-Tag: v0.42.rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39cc78956090f7ee5ef4ee2b51a9ec2fe428af8b;p=thirdparty%2Flibcgroup.git tests: Use python3 in the functional tests Python 2.7 will not be maintained beyond January 1, 2020. To avoid potential problems when python 2 is retired, this commit explicitly instructs the functional tests to use python3. Suggested-by: Michal Koutný Signed-off-by: Tom Hromatka Signed-off-by: Dhaval Giani --- diff --git a/tests/ftests/001-cgget-basic_cgget.py b/tests/ftests/001-cgget-basic_cgget.py index 9638335f..be588692 100755 --- a/tests/ftests/001-cgget-basic_cgget.py +++ b/tests/ftests/001-cgget-basic_cgget.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Basic cgget functionality test # diff --git a/tests/ftests/ftests.py b/tests/ftests/ftests.py index c8ec0ab1..8f11ed6f 100755 --- a/tests/ftests/ftests.py +++ b/tests/ftests/ftests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Main entry point for the libcgroup functional tests #