From 5be9dcbb86f109a9a4c07321a683fe9c89ebd5f2 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 21 Feb 2014 20:21:53 +0200 Subject: [PATCH] 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 --- tests/hwsim/hostapd.py | 2 -- tests/hwsim/hwsim_utils.py | 2 -- tests/hwsim/radius_das.py | 2 -- tests/hwsim/test_ap_acs.py | 2 -- tests/hwsim/test_ap_ciphers.py | 2 -- tests/hwsim/test_ap_dynamic.py | 2 -- tests/hwsim/test_ap_eap.py | 2 -- tests/hwsim/test_ap_ft.py | 2 -- tests/hwsim/test_ap_hs20.py | 2 -- tests/hwsim/test_ap_ht.py | 2 -- tests/hwsim/test_ap_params.py | 2 -- tests/hwsim/test_ap_pmf.py | 2 -- tests/hwsim/test_ap_psk.py | 2 -- tests/hwsim/test_ap_qosmap.py | 2 -- tests/hwsim/test_ap_roam.py | 2 -- tests/hwsim/test_ap_tdls.py | 2 -- tests/hwsim/test_ap_wps.py | 2 -- tests/hwsim/test_connect_cmd.py | 2 -- tests/hwsim/test_dfs.py | 2 -- tests/hwsim/test_ext_password.py | 2 -- tests/hwsim/test_gas.py | 2 -- tests/hwsim/test_ibss.py | 2 -- tests/hwsim/test_ieee8021x.py | 2 -- tests/hwsim/test_module_tests.py | 2 -- tests/hwsim/test_monitor_interface.py | 2 -- tests/hwsim/test_nfc_p2p.py | 2 -- tests/hwsim/test_nfc_wps.py | 2 -- tests/hwsim/test_p2p_autogo.py | 2 -- tests/hwsim/test_p2p_concurrency.py | 2 -- tests/hwsim/test_p2p_device.py | 2 -- tests/hwsim/test_p2p_discovery.py | 2 -- tests/hwsim/test_p2p_grpform.py | 2 -- tests/hwsim/test_p2p_invitation.py | 2 -- tests/hwsim/test_p2p_persistent.py | 2 -- tests/hwsim/test_p2p_service.py | 2 -- tests/hwsim/test_p2p_wifi_display.py | 2 -- tests/hwsim/test_peerkey.py | 2 -- tests/hwsim/test_pmksa_cache.py | 2 -- tests/hwsim/test_radio_work.py | 2 -- tests/hwsim/test_radius.py | 2 -- tests/hwsim/test_sae.py | 2 -- tests/hwsim/test_scan.py | 2 -- tests/hwsim/test_ssid.py | 2 -- tests/hwsim/test_sta_dynamic.py | 2 -- tests/hwsim/test_wep.py | 2 -- tests/hwsim/test_wext.py | 2 -- tests/hwsim/test_wnm.py | 2 -- tests/hwsim/test_wpas_ap.py | 2 -- tests/hwsim/test_wpas_ctrl.py | 2 -- tests/hwsim/utils.py | 2 -- tests/hwsim/wlantest.py | 2 -- tests/hwsim/wpasupplicant.py | 2 -- 52 files changed, 104 deletions(-) diff --git a/tests/hwsim/hostapd.py b/tests/hwsim/hostapd.py index 17d2d5624..d52ed0642 100644 --- a/tests/hwsim/hostapd.py +++ b/tests/hwsim/hostapd.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Python class for controlling hostapd # Copyright (c) 2013-2014, Jouni Malinen # diff --git a/tests/hwsim/hwsim_utils.py b/tests/hwsim/hwsim_utils.py index 621143b05..8e9f5e7de 100644 --- a/tests/hwsim/hwsim_utils.py +++ b/tests/hwsim/hwsim_utils.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # hwsim testing utilities # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/radius_das.py b/tests/hwsim/radius_das.py index 1dd0c5e5b..300681a71 100644 --- a/tests/hwsim/radius_das.py +++ b/tests/hwsim/radius_das.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # RADIUS DAS extensions to pyrad # Copyright (c) 2014, Jouni Malinen # diff --git a/tests/hwsim/test_ap_acs.py b/tests/hwsim/test_ap_acs.py index cfa45abbb..c806a8ba7 100644 --- a/tests/hwsim/test_ap_acs.py +++ b/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 # diff --git a/tests/hwsim/test_ap_ciphers.py b/tests/hwsim/test_ap_ciphers.py index dcabe313e..9dbcc899d 100644 --- a/tests/hwsim/test_ap_ciphers.py +++ b/tests/hwsim/test_ap_ciphers.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Cipher suite tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ap_dynamic.py b/tests/hwsim/test_ap_dynamic.py index 3ee6c9727..7da037615 100644 --- a/tests/hwsim/test_ap_dynamic.py +++ b/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. # diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index 219a1dd4f..532a21df5 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/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 # diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index 63f97e95f..e91a0988b 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Fast BSS Transition tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 3983030c6..f89aee19e 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Hotspot 2.0 tests # Copyright (c) 2013-2014, Jouni Malinen # diff --git a/tests/hwsim/test_ap_ht.py b/tests/hwsim/test_ap_ht.py index 5071a9836..7b5cf2412 100644 --- a/tests/hwsim/test_ap_ht.py +++ b/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 # diff --git a/tests/hwsim/test_ap_params.py b/tests/hwsim/test_ap_params.py index 2f7768360..018e055d6 100644 --- a/tests/hwsim/test_ap_params.py +++ b/tests/hwsim/test_ap_params.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Test various AP mode parameters # Copyright (c) 2014, Qualcomm Atheros, Inc. # diff --git a/tests/hwsim/test_ap_pmf.py b/tests/hwsim/test_ap_pmf.py index daf39e8fe..15777b21a 100644 --- a/tests/hwsim/test_ap_pmf.py +++ b/tests/hwsim/test_ap_pmf.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Protected management frames tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ap_psk.py b/tests/hwsim/test_ap_psk.py index 26a3bb429..ddef32aaf 100644 --- a/tests/hwsim/test_ap_psk.py +++ b/tests/hwsim/test_ap_psk.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # WPA2-Personal tests # Copyright (c) 2014, Qualcomm Atheros, Inc. # diff --git a/tests/hwsim/test_ap_qosmap.py b/tests/hwsim/test_ap_qosmap.py index 8843b4e26..f1b7f7a6f 100644 --- a/tests/hwsim/test_ap_qosmap.py +++ b/tests/hwsim/test_ap_qosmap.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # QoS Mapping tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ap_roam.py b/tests/hwsim/test_ap_roam.py index a9d671ccd..11e209783 100644 --- a/tests/hwsim/test_ap_roam.py +++ b/tests/hwsim/test_ap_roam.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Roaming tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ap_tdls.py b/tests/hwsim/test_ap_tdls.py index 2163e02b1..b3ac5b3a1 100644 --- a/tests/hwsim/test_ap_tdls.py +++ b/tests/hwsim/test_ap_tdls.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # TDLS tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index bc3739831..5f19ae0ef 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # WPS tests # Copyright (c) 2013-2014, Jouni Malinen # diff --git a/tests/hwsim/test_connect_cmd.py b/tests/hwsim/test_connect_cmd.py index 75833a5f9..f2858c169 100644 --- a/tests/hwsim/test_connect_cmd.py +++ b/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 # diff --git a/tests/hwsim/test_dfs.py b/tests/hwsim/test_dfs.py index a92ab83d3..025d56135 100644 --- a/tests/hwsim/test_dfs.py +++ b/tests/hwsim/test_dfs.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Test cases for DFS # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ext_password.py b/tests/hwsim/test_ext_password.py index 56481e18a..9e39043ba 100644 --- a/tests/hwsim/test_ext_password.py +++ b/tests/hwsim/test_ext_password.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # External password storage # Copyright (c) 2014, Jouni Malinen # diff --git a/tests/hwsim/test_gas.py b/tests/hwsim/test_gas.py index 5f901c384..0172b0678 100644 --- a/tests/hwsim/test_gas.py +++ b/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 diff --git a/tests/hwsim/test_ibss.py b/tests/hwsim/test_ibss.py index 3a92a673b..aa7e9a7c9 100644 --- a/tests/hwsim/test_ibss.py +++ b/tests/hwsim/test_ibss.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # IBSS test cases # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ieee8021x.py b/tests/hwsim/test_ieee8021x.py index 6527f0c0a..eef2bb9af 100644 --- a/tests/hwsim/test_ieee8021x.py +++ b/tests/hwsim/test_ieee8021x.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # IEEE 802.1X tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_module_tests.py b/tests/hwsim/test_module_tests.py index a7171d99c..3915bd019 100644 --- a/tests/hwsim/test_module_tests.py +++ b/tests/hwsim/test_module_tests.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Module tests # Copyright (c) 2014, Jouni Malinen # diff --git a/tests/hwsim/test_monitor_interface.py b/tests/hwsim/test_monitor_interface.py index 2fce1a128..47f830d8a 100644 --- a/tests/hwsim/test_monitor_interface.py +++ b/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 # diff --git a/tests/hwsim/test_nfc_p2p.py b/tests/hwsim/test_nfc_p2p.py index 84418f948..98606a716 100644 --- a/tests/hwsim/test_nfc_p2p.py +++ b/tests/hwsim/test_nfc_p2p.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # P2P+NFC tests # Copyright (c) 2013, Qualcomm Atheros, Inc. # diff --git a/tests/hwsim/test_nfc_wps.py b/tests/hwsim/test_nfc_wps.py index dc2c848a5..e36d479d3 100644 --- a/tests/hwsim/test_nfc_wps.py +++ b/tests/hwsim/test_nfc_wps.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # WPS+NFC tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_autogo.py b/tests/hwsim/test_p2p_autogo.py index ad4a3d91d..09c9c5633 100644 --- a/tests/hwsim/test_p2p_autogo.py +++ b/tests/hwsim/test_p2p_autogo.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # P2P autonomous GO test cases # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_concurrency.py b/tests/hwsim/test_p2p_concurrency.py index 29aaa26e0..7689b15b5 100644 --- a/tests/hwsim/test_p2p_concurrency.py +++ b/tests/hwsim/test_p2p_concurrency.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # P2P concurrency test cases # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_device.py b/tests/hwsim/test_p2p_device.py index ce9d2c4f1..921772099 100644 --- a/tests/hwsim/test_p2p_device.py +++ b/tests/hwsim/test_p2p_device.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # cfg80211 P2P Device # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_discovery.py b/tests/hwsim/test_p2p_discovery.py index 685a76c60..a63768bbd 100644 --- a/tests/hwsim/test_p2p_discovery.py +++ b/tests/hwsim/test_p2p_discovery.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # P2P device discovery test cases # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_grpform.py b/tests/hwsim/test_p2p_grpform.py index c91b64d9b..7c0ded5b3 100644 --- a/tests/hwsim/test_p2p_grpform.py +++ b/tests/hwsim/test_p2p_grpform.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # P2P group formation test cases # Copyright (c) 2013-2014, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_invitation.py b/tests/hwsim/test_p2p_invitation.py index db8441ea3..1ad0b6510 100644 --- a/tests/hwsim/test_p2p_invitation.py +++ b/tests/hwsim/test_p2p_invitation.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # P2P invitation test cases # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_persistent.py b/tests/hwsim/test_p2p_persistent.py index 1f0ef1ba6..c931b60b3 100644 --- a/tests/hwsim/test_p2p_persistent.py +++ b/tests/hwsim/test_p2p_persistent.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # P2P persistent group test cases # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_service.py b/tests/hwsim/test_p2p_service.py index 43ed5b2db..a625f0515 100644 --- a/tests/hwsim/test_p2p_service.py +++ b/tests/hwsim/test_p2p_service.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # P2P service discovery test cases # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_p2p_wifi_display.py b/tests/hwsim/test_p2p_wifi_display.py index a38e8aa2e..39e3d6b64 100644 --- a/tests/hwsim/test_p2p_wifi_display.py +++ b/tests/hwsim/test_p2p_wifi_display.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Wi-Fi Display test cases # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_peerkey.py b/tests/hwsim/test_peerkey.py index f4da06a06..7371b405f 100644 --- a/tests/hwsim/test_peerkey.py +++ b/tests/hwsim/test_peerkey.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # PeerKey tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_pmksa_cache.py b/tests/hwsim/test_pmksa_cache.py index cbd8d8edd..786351e50 100644 --- a/tests/hwsim/test_pmksa_cache.py +++ b/tests/hwsim/test_pmksa_cache.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # WPA2-Enterprise PMKSA caching tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_radio_work.py b/tests/hwsim/test_radio_work.py index 7f4f5c781..1903cd47b 100644 --- a/tests/hwsim/test_radio_work.py +++ b/tests/hwsim/test_radio_work.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Radio work tests # Copyright (c) 2014, Jouni Malinen # diff --git a/tests/hwsim/test_radius.py b/tests/hwsim/test_radius.py index 584998636..ea7e476c9 100644 --- a/tests/hwsim/test_radius.py +++ b/tests/hwsim/test_radius.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # RADIUS tests # Copyright (c) 2013-2014, Jouni Malinen # diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py index 3461c54c6..64cbdde4f 100644 --- a/tests/hwsim/test_sae.py +++ b/tests/hwsim/test_sae.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Test cases for SAE # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_scan.py b/tests/hwsim/test_scan.py index 938abda8d..d7ce821e2 100644 --- a/tests/hwsim/test_scan.py +++ b/tests/hwsim/test_scan.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Scanning tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_ssid.py b/tests/hwsim/test_ssid.py index 6d1f72d3a..0ff031b1c 100644 --- a/tests/hwsim/test_ssid.py +++ b/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 # diff --git a/tests/hwsim/test_sta_dynamic.py b/tests/hwsim/test_sta_dynamic.py index ab9df4448..21ad437ee 100644 --- a/tests/hwsim/test_sta_dynamic.py +++ b/tests/hwsim/test_sta_dynamic.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Dynamic wpa_supplicant interface # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_wep.py b/tests/hwsim/test_wep.py index 7b70484ac..8dbc9be7b 100644 --- a/tests/hwsim/test_wep.py +++ b/tests/hwsim/test_wep.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # WEP tests # Copyright (c) 2014, Jouni Malinen # diff --git a/tests/hwsim/test_wext.py b/tests/hwsim/test_wext.py index e456b48b6..302d0fef5 100644 --- a/tests/hwsim/test_wext.py +++ b/tests/hwsim/test_wext.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Deprecated WEXT driver interface in wpa_supplicant # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_wnm.py b/tests/hwsim/test_wnm.py index af5cacbd4..4820885c0 100644 --- a/tests/hwsim/test_wnm.py +++ b/tests/hwsim/test_wnm.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # WNM tests # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/test_wpas_ap.py b/tests/hwsim/test_wpas_ap.py index 4d78cb022..f40fac6cb 100644 --- a/tests/hwsim/test_wpas_ap.py +++ b/tests/hwsim/test_wpas_ap.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # wpa_supplicant AP mode tests # Copyright (c) 2014, Qualcomm Atheros, Inc. # diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index c328f73e6..367ed5c6e 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/tests/hwsim/test_wpas_ctrl.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # wpa_supplicant control interface # Copyright (c) 2014, Qualcomm Atheros, Inc. # diff --git a/tests/hwsim/utils.py b/tests/hwsim/utils.py index 27cbc4e12..66589bb2e 100644 --- a/tests/hwsim/utils.py +++ b/tests/hwsim/utils.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Testing utilities # Copyright (c) 2013, Jouni Malinen # diff --git a/tests/hwsim/wlantest.py b/tests/hwsim/wlantest.py index 305647968..e78cd883d 100644 --- a/tests/hwsim/wlantest.py +++ b/tests/hwsim/wlantest.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Python class for controlling wlantest # Copyright (c) 2013-2014, Jouni Malinen # diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py index 963b346c8..3a7908b1e 100644 --- a/tests/hwsim/wpasupplicant.py +++ b/tests/hwsim/wpasupplicant.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Python class for controlling wpa_supplicant # Copyright (c) 2013-2014, Jouni Malinen #