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-02 19:02:04 +1000
commit495bbc3f4fc074303278dc5fece3d49e19ba0f01 (patch)
tree1787d83d0f442747cffa172b04aaf44ea500f652
parent41e33a4e4264223f081633d65bc1c98fe75b068d (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 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>