]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
tests: Use python3 in the functional tests
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 19 Sep 2019 20:51:55 +0000 (14:51 -0600)
committerDhaval Giani <dhaval.giani@oracle.com>
Tue, 8 Oct 2019 17:51:22 +0000 (10:51 -0700)
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ý <mkoutny@suse.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
tests/ftests/001-cgget-basic_cgget.py
tests/ftests/ftests.py

index 9638335ff2b525a15bfd0160b396faa1c44daff2..be58869293fb14633eb9368f8a6a53ce377f2631 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Basic cgget functionality test
 #
index c8ec0ab1926524137cdc6144e7be36422944e34a..8f11ed6fac3994e6f396c0876d44c700f8496ca7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Main entry point for the libcgroup functional tests
 #