[nft,1/7] test: Specify python version in nft-test.py

Message ID af5f22ab79f53f024b3965f6d0aaba8f9bc9c32a.1526542126.git.ecklm94@gmail.com
State Accepted
Delegated to: Pablo Neira
Headers show
Series
  • [nft,1/7] test: Specify python version in nft-test.py
Related show

Commit Message

Máté Eckl May 17, 2018, 7:36 a.m.
/usr/bin/python is linked to different main version of python in
different distributions (eg. 2 on debian, 3 on arch linux).

Signed-off-by: Máté Eckl <ecklm94@gmail.com>
---
 tests/py/nft-test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py
index a41b95d..88a3b21 100755
--- a/tests/py/nft-test.py
+++ b/tests/py/nft-test.py
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#!/usr/bin/python2
 #
 # (C) 2014 by Ana Rey Botello <anarey@gmail.com>
 #