[PATCH 1/1] testsuites/samples/hello/init.c: Modify the message in printf call

Gedare Bloom gedare at rtems.org
Wed Mar 8 02:44:28 UTC 2023


Thanks. Please email me and joel at rtems.org directly with a screenshot
that shows you can run this modified hello world.

On Mon, Mar 6, 2023 at 9:51 PM Ruturaj Nanoti <nanotiruturaj at gmail.com> wrote:
>
> Changed the message printed out in the hello testsuite from
> `Hello World` to `Hello RTEMS, from Ruturaj Nanoti!!` to
> demonstrate the ability to work with the RTEMS project.
> ---
>  testsuites/samples/hello/init.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c
> index 83f6342ab3..2faff4a1ec 100644
> --- a/testsuites/samples/hello/init.c
> +++ b/testsuites/samples/hello/init.c
> @@ -41,7 +41,8 @@ static rtems_task Init(
>  {
>    rtems_print_printer_fprintf_putc(&rtems_test_printer);
>    TEST_BEGIN();
> -  printf( "Hello World\n" );
> +  /* printf( "Hello World\n" ); */
> +  printf( "Hello RTEMS, from Ruturaj Nanoti!!\n" );
>    TEST_END();
>    rtems_test_exit( 0 );
>  }
> --
> 2.34.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list