From: Roger Zanoni Date: Fri, 21 Feb 2014 18:23:56 +0000 (+0200) Subject: tests: Change the python interpreter directive X-Git-Tag: hostap_2_2~820 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=040dc68e8cd48c634871afa681d2d27c61940212;p=thirdparty%2Fhostap.git 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 --- diff --git a/tests/hwsim/run-tests.py b/tests/hwsim/run-tests.py index 4ae987f86..abaddcdf1 100755 --- a/tests/hwsim/run-tests.py +++ b/tests/hwsim/run-tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # # AP tests # Copyright (c) 2013-2014, Jouni Malinen