[PATCH 1/1] Change the interpreter directive in test scrips
Jouni Malinen
j
Fri Feb 21 10:27:21 PST 2014
On Fri, Feb 21, 2014 at 09:48:40AM -0400, Roger Zanoni wrote:
> This makes scripts check the environment for the current python
> interpreter in use instead of assuming that the python executable points
> to a python 2 interpreter.
Thanks.
> tests/hwsim/hostapd.py | 2 +-
> tests/hwsim/hwsim_utils.py | 2 +-
> tests/hwsim/radius_das.py | 2 +-
> tests/hwsim/run-tests.py | 2 +-
> tests/hwsim/test_ap_acs.py | 2 +-
...
However, it turns out that apart from run-tests.py, there is not really
any point in defining the interpreter in the first place since those
files are not executed directly. I removed the interpreter lines from
all the other files and applied this change to run-tests.py.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list