public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Richard Palethorpe <rpalethorpe@suse.de>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/2] lib/tests: Rename test tst_print_result.c
Date: Thu, 01 Jul 2021 06:50:27 +0100	[thread overview]
Message-ID: <87lf6q37mk.fsf@suse.de> (raw)
In-Reply-To: <20210701050314.1005067-2-petr.vorel@gmail.com>

Hello Petr,
Petr Vorel <petr.vorel@gmail.com> writes:

> From: Petr Vorel <pvorel@suse.cz>
>
> Also:
> * remove copy pasted test description
> * fix author in the copyright
>
> Fixes: cecbd0cb3 ("Fix buffer overflow in print_result() function")
>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>

Acked-by: Richard Palethorpe <rpalethorpe@suse.com>

> ---
>  lib/newlib_tests/.gitignore                       |  2 +-
>  lib/newlib_tests/{test17.c => tst_print_result.c} | 10 ++++------
>  2 files changed, 5 insertions(+), 7 deletions(-)
>  rename lib/newlib_tests/{test17.c => tst_print_result.c} (80%)
>
> diff --git a/lib/newlib_tests/.gitignore b/lib/newlib_tests/.gitignore
> index 83a240223..9f53bbb99 100644
> --- a/lib/newlib_tests/.gitignore
> +++ b/lib/newlib_tests/.gitignore
> @@ -22,7 +22,7 @@ tst_device
>  tst_safe_fileops
>  tst_res_hexd
>  tst_strstatus
> -test17
> +tst_print_result
>  test18
>  test19
>  test20
> diff --git a/lib/newlib_tests/test17.c b/lib/newlib_tests/tst_print_result.c
> similarity index 80%
> rename from lib/newlib_tests/test17.c
> rename to lib/newlib_tests/tst_print_result.c
> index c0fc0bc30..0a2ca5af1 100644
> --- a/lib/newlib_tests/test17.c
> +++ b/lib/newlib_tests/tst_print_result.c
> @@ -1,12 +1,10 @@
>  // SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * Copyright (c) 2017 Richard Palethorpe <rpalethorpe@suse.com>
> + * Copyright (c) 2017 Veronika Kabatova <vkabatov@redhat.com>
>   */
> -/* Basic functionality test for tst_fuzzy_sync.h similar to the atomic tests
> - * (test15.c). One thread writes to the odd indexes of an array while the
> - * other writes to the even. If the threads are not synchronised then they
> - * will probably write to the wrong indexes as they share an index variable
> - * which they should take it in turns to update.
> +
> +/*
> + * Test for cecbd0cb3 ("Fix buffer overflow in print_result() function")
>   */
>  
>  #include <stdlib.h>


-- 
Thank you,
Richard.

  reply	other threads:[~2021-07-01  5:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01  5:03 [LTP] [PATCH 0/2] API tests cleanup Petr Vorel
2021-07-01  5:03 ` [LTP] [PATCH 1/2] lib/tests: Rename test tst_print_result.c Petr Vorel
2021-07-01  5:50   ` Richard Palethorpe [this message]
2021-07-01  5:03 ` [LTP] [PATCH 2/2] lib/tests: Rename test to tst_fuzzy_sync03.c Petr Vorel
2021-07-01  5:51   ` Richard Palethorpe
2021-07-01  6:53     ` Petr Vorel
2021-07-01  5:55 ` [LTP] [PATCH 0/2] API tests cleanup xuyang2018.jy
2021-07-01  6:11   ` Li Wang
2021-07-01  6:27   ` Petr Vorel
2021-07-01  6:32     ` xuyang2018.jy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lf6q37mk.fsf@suse.de \
    --to=rpalethorpe@suse.de \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox