Changeset 93ebc9d in rtems
- Timestamp:
- 01/14/22 06:59:34 (6 months ago)
- Branches:
- master
- Children:
- 944c210
- Parents:
- 671f126
- git-author:
- Sebastian Huber <sebastian.huber@…> (01/14/22 06:59:34)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (01/14/22 07:02:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/libtests/dl10/init.c
r671f126 r93ebc9d 28 28 const char rtems_test_name[] = "libdl (RTL) 10"; 29 29 30 /* forward declarations to avoid warnings */31 static rtems_task Init(rtems_task_argument argument);32 33 30 #include "dl10-tar.h" 34 31 … … 47 44 } 48 45 46 static void notification(int fd, int seconds_remaining, void *arg) 47 { 48 printf( 49 "Press any key to enter shell (%is remaining)\n", 50 seconds_remaining 51 ); 52 } 53 49 54 static void Init(rtems_task_argument arg) 50 55 { 51 56 int e; 57 rtems_status_code sc; 52 58 53 59 TEST_BEGIN(); … … 77 83 } 78 84 79 rtems_shell_init ("SHLL", 80 RTEMS_MINIMUM_STACK_SIZE * 4, 81 100, 82 "/dev/foobar", 83 false, 84 true, 85 NULL); 85 86 sc = rtems_shell_wait_for_input (STDIN_FILENO, 87 20, 88 notification, 89 NULL); 90 if (sc == RTEMS_SUCCESSFUL) { 91 rtems_shell_init ("SHLL", 92 RTEMS_MINIMUM_STACK_SIZE * 4, 93 100, 94 "/dev/foobar", 95 false, 96 true, 97 NULL); 98 } 86 99 87 100 TEST_END();
Note: See TracChangeset
for help on using the changeset viewer.