[PATCH v2 3/4] Add wpa_supplicant command in test suite.

Sichen Zhao 1473996754 at qq.com
Thu Oct 12 12:16:08 UTC 2017


Add wpa supplicant command in media01.
---
 testsuite/include/rtems/bsd/test/default-network-init.h | 3 ++-
 testsuite/media01/test_main.c                           | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h
index 4d4e831..73c3944 100644
--- a/testsuite/include/rtems/bsd/test/default-network-init.h
+++ b/testsuite/include/rtems/bsd/test/default-network-init.h
@@ -367,7 +367,8 @@ Init(rtems_task_argument arg)
   &rtems_shell_TCPDUMP_Command, \
   &rtems_shell_SYSCTL_Command, \
   &rtems_shell_VMSTAT_Command, \
-  &rtems_shell_WLANSTATS_Command
+  &rtems_shell_WLANSTATS_Command, \
+  &rtems_shell_WPA_SUPPLICANT_Command
 
 #define CONFIGURE_SHELL_COMMAND_CPUUSE
 #define CONFIGURE_SHELL_COMMAND_PERIODUSE
diff --git a/testsuite/media01/test_main.c b/testsuite/media01/test_main.c
index b808ad6..f4aaea9 100644
--- a/testsuite/media01/test_main.c
+++ b/testsuite/media01/test_main.c
@@ -205,7 +205,8 @@ early_initialization(void)
   &rtems_shell_NETSTAT_Command, \
   &rtems_shell_SYSCTL_Command, \
   &rtems_shell_IFCONFIG_Command, \
-  &rtems_shell_VMSTAT_Command
+  &rtems_shell_VMSTAT_Command, \
+  &rtems_shell_WPA_SUPPLICANT_Command
 
 #define CONFIGURE_SHELL_COMMAND_CPUINFO
 #define CONFIGURE_SHELL_COMMAND_CPUUSE
-- 
2.7.4



More information about the devel mailing list