Browse Source

tests: Change the python interpreter directive

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>
Roger Zanoni 11 years ago
parent
commit
040dc68e8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/hwsim/run-tests.py

+ 1 - 1
tests/hwsim/run-tests.py

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