[PATCH 5/7] Add wpa_supplicant command in test suite.

Sichen Zhao 1473996754 at qq.com
Thu Aug 17 00:23:15 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 df4cf21..5ca88fb 100644
--- a/testsuite/media01/test_main.c
+++ b/testsuite/media01/test_main.c
@@ -204,7 +204,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