[PATCH 2/2] samples/fileio: Add login and custom device name for better testing of the shell.

Christian Mauderer Christian.Mauderer at embedded-brains.de
Wed Mar 19 13:45:36 UTC 2014


Hello,

I did something wrong while testing and have to fix some additional
points. So you don't have to try the patches because I'll have to fix
them first and send them again after fixing.

Sorry.

Kind regards,

Christian Mauderer

Am 19.03.2014 12:54, schrieb Christian Mauderer:
> From: Christian Mauderer <Christian.Mauderer at embedded-brains.de>
> 
> ---
>  testsuites/samples/fileio/init.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
> index 80da4ab..2a0f9db 100644
> --- a/testsuites/samples/fileio/init.c
> +++ b/testsuites/samples/fileio/init.c
> @@ -708,10 +708,11 @@ static void fileio_start_shell(void)
>      "SHLL",                          /* task_name */
>      RTEMS_MINIMUM_STACK_SIZE * 4,    /* task_stacksize */
>      100,                             /* task_priority */
> -    "/dev/console",                  /* devname */
> +    "/dev/foobar",                   /* devname */
> +    /* device is currently ignored by the shell if it is not a pty */
>      false,                           /* forever */
>      true,                            /* wait */
> -    NULL                             /* login */
> +    rtems_shell_login_check          /* login */
>    );
>  }
>  #endif /* USE_SHELL */
> 

-- 
--------------------------------------------
embedded brains GmbH
Christian Mauderer     Dornierstr. 4
D-82178 Puchheim       Germany
email: Christian.Mauderer at embedded-brains.de
Phone: +49-89-18 94 741-18
Fax:   +49-89-18 94 741-08

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list