diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-13 17:20:01 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-13 17:44:40 +0100 |
commit | fafa9e271659e6ff1f714f034ab64aa608a8ca81 (patch) | |
tree | eb6a1c8a201c663df6c20872c46f7f51eb36cfcb /testsuite/commands01/test_main.c | |
parent | threads: Delay thread start during initialization (diff) | |
download | rtems-libbsd-fafa9e271659e6ff1f714f034ab64aa608a8ca81.tar.bz2 |
testsuite: Simplify tests
Diffstat (limited to 'testsuite/commands01/test_main.c')
-rw-r--r-- | testsuite/commands01/test_main.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/testsuite/commands01/test_main.c b/testsuite/commands01/test_main.c index 06e27a5c..c84ba775 100644 --- a/testsuite/commands01/test_main.c +++ b/testsuite/commands01/test_main.c @@ -40,22 +40,12 @@ #include <machine/rtems-bsd-commands.h> #include <rtems/libcsupport.h> -#include <rtems/stackchk.h> #define TEST_NAME "LIBBSD COMMANDS 1" #define ARGC(x) (nitems(x) - 1) static void -set_self_prio(rtems_task_priority prio) -{ - rtems_status_code sc; - - sc = rtems_task_set_priority(RTEMS_SELF, prio, &prio); - assert(sc == RTEMS_SUCCESSFUL); -} - -static void test_route_without_if(void) { rtems_resource_snapshot snapshot; @@ -270,12 +260,6 @@ test_netstat(void) static void test_main(void) { - /* - * Let other tasks run to complete background work that frees allocated - * resources. - */ - set_self_prio(RTEMS_MAXIMUM_PRIORITY - 1); - test_route_without_if(); test_ifconfig_lo0(); test_route_with_lo0(); @@ -283,10 +267,6 @@ test_main(void) test_ping6(); test_netstat(); - rtems_stack_checker_report_usage_with_plugin(NULL, - rtems_printf_plugin); - - puts("*** END OF " TEST_NAME " TEST ***"); exit(0); } |