tests: Change the python interpreter directive
authorRoger Zanoni <roger.zanoni@openbossa.org>
Fri, 21 Feb 2014 18:23:56 +0000 (20:23 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 21 Feb 2014 18:23:56 +0000 (20:23 +0200)
This makes the script check the environment for the current python
interpreter in use instead of assuming that the python executable points
to a python 2 interpreter.

Signed-off-by: Roger Zanoni <roger.zanoni@openbossa.org>
tests/hwsim/run-tests.py

index 4ae987f..abaddcd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 #
 # AP tests
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>