From: Petr Vorel <pvorel@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] tst_test.sh: Remove possible double/trailing slashes from TMPDIR
Date: Wed, 26 Apr 2023 19:29:52 +0200 [thread overview]
Message-ID: <20230426172952.GA3089461@pevik> (raw)
In-Reply-To: <CAEemH2fSrefp5pSbajkhbpHNyp2NCYY94pP-HfdO0BGCVbRavw@mail.gmail.com>
Hi Li,
> > > > NFS tests have problem when TMPDIR path contains double slashes,
> > > > because they grep exportfs output which is normalized.
> > > I'm ok to remove redundant slashes, I just wondering where
> > > is the second slash comes from?
> > > Is that added by accident when env variable definition?
> > Yes, that's the last slash in TMPDIR=/var/tmp/.
> > TMPDIR=/var/tmp would work.
> Ok, I agree with the secondary treatment inside lib (includes C API),
> as we can't grantee the all users to remember this trivial.
> Reviewed-by: Li Wang <liwang@redhat.com>
thanks, merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2023-04-26 17:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 7:39 [LTP] [PATCH 1/1] tst_test.sh: Remove possible double/trailing slashes from TMPDIR Petr Vorel
2023-04-12 7:41 ` Petr Vorel
2023-04-13 7:57 ` Li Wang
2023-04-13 8:02 ` Petr Vorel
2023-04-13 8:20 ` Li Wang
2023-04-26 17:29 ` Petr Vorel [this message]
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=20230426172952.GA3089461@pevik \
--to=pvorel@suse.cz \
--cc=liwang@redhat.com \
--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