summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-07-20 14:09:05 +1000
committerChris Johns <chrisj@rtems.org>2021-08-27 17:06:22 +1000
commit737b344cdbb6f43b7b2bbf8f1995eac9f4b4adb0 (patch)
tree54b5385623be84489638e8383e2c154d46d90b0f
parent2fbe801cf24063379a987b86a764cacc5829bbf0 (diff)
testsuite: Optionally allow all command in a shell
Update #4475
-rw-r--r--testsuite/include/rtems/bsd/test/default-network-init.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h
index ba995910..3d8f4eab 100644
--- a/testsuite/include/rtems/bsd/test/default-network-init.h
+++ b/testsuite/include/rtems/bsd/test/default-network-init.h
@@ -367,6 +367,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
@@ -387,6 +388,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>