diff options
author | Chris Johns <chrisj@rtems.org> | 2023-05-25 13:48:21 +1000 |
---|---|---|
committer | KinseyMoore <48726349+KinseyMoore@users.noreply.github.com> | 2023-05-25 07:40:24 -0500 |
commit | 702a05e2ec100ddcdd7694a05cd28843be6e20eb (patch) | |
tree | d11647bce419532c6af4d3d09a96d7f084c94f85 | |
parent | bsd/ntp: Set the ntpq fd set size (diff) | |
download | rtems-net-services-702a05e2ec100ddcdd7694a05cd28843be6e20eb.tar.bz2 |
testsute/ntp: Increase shell stack size
- The ntpq command uses 17K of stack with libbsd. Increase the shell's
stack size
- Enable stack checking
-rw-r--r-- | testsuites/ntp01/test_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/ntp01/test_main.c b/testsuites/ntp01/test_main.c index e25daf8..6a744c8 100644 --- a/testsuites/ntp01/test_main.c +++ b/testsuites/ntp01/test_main.c @@ -452,6 +452,8 @@ static rtems_task ntpd_runner( break; } } + printf("error: ntpd: task loop exiting"); + rtems_task_delete(RTEMS_SELF); } static void run_test(void) @@ -475,7 +477,7 @@ static void run_test(void) debugger_start(); debugger_break(); - sc = rtems_shell_init("SHLL", 16 * 1024, 1, CONSOLE_DEVICE_NAME, + sc = rtems_shell_init("SHLL", 32 * 1024, 1, CONSOLE_DEVICE_NAME, false, false, NULL); directive_failed( sc, "rtems_shell_init" ); assert(sc == RTEMS_SUCCESSFUL); @@ -587,4 +589,6 @@ static rtems_task Init( rtems_task_argument argument ) #define CONFIGURE_UNLIMITED_OBJECTS #define CONFIGURE_UNIFIED_WORK_AREAS +#define CONFIGURE_STACK_CHECKER_ENABLED + #include <rtems/confdefs.h> |