[PATCH rtems-libbsd 2/7] testsuite: Optionally allow all command in a shell
chrisj at rtems.org
chrisj at rtems.org
Tue Jul 27 08:58:46 UTC 2021
From: Chris Johns <chrisj at rtems.org>
Update #4475
---
testsuite/include/rtems/bsd/test/default-network-init.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h
index ce1fc015..fffb739c 100644
--- a/testsuite/include/rtems/bsd/test/default-network-init.h
+++ b/testsuite/include/rtems/bsd/test/default-network-init.h
@@ -339,6 +339,7 @@ Init(rtems_task_argument arg)
&rtems_shell_SYSCTL_Command, \
&rtems_shell_VMSTAT_Command
+#ifndef CONFIGURE_SHELL_COMMANDS_ALL
#define CONFIGURE_SHELL_COMMAND_CPUINFO
#define CONFIGURE_SHELL_COMMAND_CPUUSE
#define CONFIGURE_SHELL_COMMAND_PERIODUSE
@@ -359,6 +360,7 @@ Init(rtems_task_argument arg)
#define CONFIGURE_SHELL_COMMAND_RM
#define CONFIGURE_SHELL_COMMAND_MALLOC_INFO
#define CONFIGURE_SHELL_COMMAND_SHUTDOWN
+#endif
#include <rtems/shellconfig.h>
--
2.24.1
More information about the devel
mailing list