Parcourir la source

tests: Remove unnecessary interpreter line from most python files

Only run-tests.py is actually executed, so there is no need to specify
the interpreter in all the helper files and test script files.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen il y a 11 ans
Parent
commit
5be9dcbb86
52 fichiers modifiés avec 0 ajouts et 104 suppressions
  1. 0 2
      tests/hwsim/hostapd.py
  2. 0 2
      tests/hwsim/hwsim_utils.py
  3. 0 2
      tests/hwsim/radius_das.py
  4. 0 2
      tests/hwsim/test_ap_acs.py
  5. 0 2
      tests/hwsim/test_ap_ciphers.py
  6. 0 2
      tests/hwsim/test_ap_dynamic.py
  7. 0 2
      tests/hwsim/test_ap_eap.py
  8. 0 2
      tests/hwsim/test_ap_ft.py
  9. 0 2
      tests/hwsim/test_ap_hs20.py
  10. 0 2
      tests/hwsim/test_ap_ht.py
  11. 0 2
      tests/hwsim/test_ap_params.py
  12. 0 2
      tests/hwsim/test_ap_pmf.py
  13. 0 2
      tests/hwsim/test_ap_psk.py
  14. 0 2
      tests/hwsim/test_ap_qosmap.py
  15. 0 2
      tests/hwsim/test_ap_roam.py
  16. 0 2
      tests/hwsim/test_ap_tdls.py
  17. 0 2
      tests/hwsim/test_ap_wps.py
  18. 0 2
      tests/hwsim/test_connect_cmd.py
  19. 0 2
      tests/hwsim/test_dfs.py
  20. 0 2
      tests/hwsim/test_ext_password.py
  21. 0 2
      tests/hwsim/test_gas.py
  22. 0 2
      tests/hwsim/test_ibss.py
  23. 0 2
      tests/hwsim/test_ieee8021x.py
  24. 0 2
      tests/hwsim/test_module_tests.py
  25. 0 2
      tests/hwsim/test_monitor_interface.py
  26. 0 2
      tests/hwsim/test_nfc_p2p.py
  27. 0 2
      tests/hwsim/test_nfc_wps.py
  28. 0 2
      tests/hwsim/test_p2p_autogo.py
  29. 0 2
      tests/hwsim/test_p2p_concurrency.py
  30. 0 2
      tests/hwsim/test_p2p_device.py
  31. 0 2
      tests/hwsim/test_p2p_discovery.py
  32. 0 2
      tests/hwsim/test_p2p_grpform.py
  33. 0 2
      tests/hwsim/test_p2p_invitation.py
  34. 0 2
      tests/hwsim/test_p2p_persistent.py
  35. 0 2
      tests/hwsim/test_p2p_service.py
  36. 0 2
      tests/hwsim/test_p2p_wifi_display.py
  37. 0 2
      tests/hwsim/test_peerkey.py
  38. 0 2
      tests/hwsim/test_pmksa_cache.py
  39. 0 2
      tests/hwsim/test_radio_work.py
  40. 0 2
      tests/hwsim/test_radius.py
  41. 0 2
      tests/hwsim/test_sae.py
  42. 0 2
      tests/hwsim/test_scan.py
  43. 0 2
      tests/hwsim/test_ssid.py
  44. 0 2
      tests/hwsim/test_sta_dynamic.py
  45. 0 2
      tests/hwsim/test_wep.py
  46. 0 2
      tests/hwsim/test_wext.py
  47. 0 2
      tests/hwsim/test_wnm.py
  48. 0 2
      tests/hwsim/test_wpas_ap.py
  49. 0 2
      tests/hwsim/test_wpas_ctrl.py
  50. 0 2
      tests/hwsim/utils.py
  51. 0 2
      tests/hwsim/wlantest.py
  52. 0 2
      tests/hwsim/wpasupplicant.py

+ 0 - 2
tests/hwsim/hostapd.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Python class for controlling hostapd
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/hwsim_utils.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # hwsim testing utilities
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/radius_das.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # RADIUS DAS extensions to pyrad
 # Copyright (c) 2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_acs.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Test cases for automatic channel selection with hostapd
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_ciphers.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Cipher suite tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_dynamic.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Test cases for dynamic BSS changes with hostapd
 # Copyright (c) 2013, Qualcomm Atheros, Inc.
 #

+ 0 - 2
tests/hwsim/test_ap_eap.py

@@ -1,6 +1,4 @@
-#!/usr/bin/python
 # -*- coding: utf-8 -*-
-#
 # WPA2-Enterprise tests
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_ft.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Fast BSS Transition tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_hs20.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Hotspot 2.0 tests
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_ht.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Test cases for HT operations with hostapd
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_params.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Test various AP mode parameters
 # Copyright (c) 2014, Qualcomm Atheros, Inc.
 #

+ 0 - 2
tests/hwsim/test_ap_pmf.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Protected management frames tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_psk.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # WPA2-Personal tests
 # Copyright (c) 2014, Qualcomm Atheros, Inc.
 #

+ 0 - 2
tests/hwsim/test_ap_qosmap.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # QoS Mapping tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_roam.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Roaming tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_tdls.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # TDLS tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ap_wps.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # WPS tests
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_connect_cmd.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # cfg80211 connect command (SME in the driver/firmware)
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_dfs.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Test cases for DFS
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ext_password.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # External password storage
 # Copyright (c) 2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_gas.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # GAS tests
 # Copyright (c) 2013, Qualcomm Atheros, Inc.
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>

+ 0 - 2
tests/hwsim/test_ibss.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # IBSS test cases
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ieee8021x.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # IEEE 802.1X tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_module_tests.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Module tests
 # Copyright (c) 2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_monitor_interface.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # AP mode using the older monitor interface design
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_nfc_p2p.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # P2P+NFC tests
 # Copyright (c) 2013, Qualcomm Atheros, Inc.
 #

+ 0 - 2
tests/hwsim/test_nfc_wps.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # WPS+NFC tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_autogo.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # P2P autonomous GO test cases
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_concurrency.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # P2P concurrency test cases
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_device.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # cfg80211 P2P Device
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_discovery.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # P2P device discovery test cases
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_grpform.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # P2P group formation test cases
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_invitation.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # P2P invitation test cases
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_persistent.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # P2P persistent group test cases
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_service.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # P2P service discovery test cases
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_p2p_wifi_display.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Wi-Fi Display test cases
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_peerkey.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # PeerKey tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_pmksa_cache.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # WPA2-Enterprise PMKSA caching tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_radio_work.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Radio work tests
 # Copyright (c) 2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_radius.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # RADIUS tests
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_sae.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Test cases for SAE
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_scan.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Scanning tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_ssid.py

@@ -1,6 +1,4 @@
-#!/usr/bin/python
 # -*- coding: utf-8 -*-
-#
 # SSID contents and encoding tests
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_sta_dynamic.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Dynamic wpa_supplicant interface
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_wep.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # WEP tests
 # Copyright (c) 2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_wext.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Deprecated WEXT driver interface in wpa_supplicant
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_wnm.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # WNM tests
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/test_wpas_ap.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # wpa_supplicant AP mode tests
 # Copyright (c) 2014, Qualcomm Atheros, Inc.
 #

+ 0 - 2
tests/hwsim/test_wpas_ctrl.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # wpa_supplicant control interface
 # Copyright (c) 2014, Qualcomm Atheros, Inc.
 #

+ 0 - 2
tests/hwsim/utils.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Testing utilities
 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/wlantest.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Python class for controlling wlantest
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #

+ 0 - 2
tests/hwsim/wpasupplicant.py

@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Python class for controlling wpa_supplicant
 # Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
 #