public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Wei Gao <wegao@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v1] hugemmap11.c: Change NORMAL_PATH to current working directory
Date: Mon, 2 Sep 2024 09:28:42 +0200	[thread overview]
Message-ID: <20240902072842.GA280672@pevik> (raw)
In-Reply-To: <20240829114124.30299-1-wegao@suse.com>

Hi Wei, Li,

> Following error will happen on sle-micro system since "/" is read only
> tst_test.c:1062: TBROK: open(/ltp_hug9Iy6OR,16578,10247520240) failed: EROFS (30)

> Signed-off-by: Wei Gao <wegao@suse.com>
> ---
>  testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

> diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c
> index 496a814b5..67fca2ddf 100644
> --- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c
> +++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c
> @@ -23,7 +23,7 @@

>  #define P0 "ffffffff"
>  #define IOSZ 4096
> -#define NORMAL_PATH ""
> +#define NORMAL_PATH "./"

Reviewed-by: Petr Vorel <pvorel@suse.cz>

@Li: Do you see any consequences?

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2024-09-02  7:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29 11:41 [LTP] [PATCH v1] hugemmap11.c: Change NORMAL_PATH to current working directory Wei Gao via ltp
2024-09-02  7:28 ` Petr Vorel [this message]
2024-09-02  8:45   ` Li Wang
2024-09-02 10:37     ` Petr Vorel

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=20240902072842.GA280672@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=wegao@suse.com \
    /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