From: Jouni Malinen Date: Fri, 28 Nov 2014 14:19:58 +0000 (+0200) Subject: tests: Hide unnecessary wlantest_cli output X-Git-Tag: hostap_2_4~985 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2005cb87e5537a59f1eb52c6b9d6fe2d900a788c;p=thirdparty%2Fhostap.git tests: Hide unnecessary wlantest_cli output Unnecessary and confusing "OK" output from wlantest_cli got sent to stdout. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/wlantest.py b/tests/hwsim/wlantest.py index e78cd883d..85ecb88b5 100644 --- a/tests/hwsim/wlantest.py +++ b/tests/hwsim/wlantest.py @@ -58,7 +58,8 @@ class Wlantest: return int(res) def clear_bss_counters(self, bssid): - subprocess.call([self.wlantest_cli, "clear_bss_counters", bssid]); + subprocess.call([self.wlantest_cli, "clear_bss_counters", bssid], + stdout=open('/dev/null', 'w')); def info_sta(self, field, bssid, addr): res = subprocess.check_output([self.wlantest_cli, "info_sta",