From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 0/3] Remove double or trailing slashes in TMPDIR in C API
Date: Mon, 25 Mar 2024 12:50:31 +0100 [thread overview]
Message-ID: <20240325115034.643892-1-pvorel@suse.cz> (raw)
Changes v1->v2:
* Change algorithm in lib/tst_tmpdir.c (different than the suggested one
by Cyril in v1).
* Remove warnings about wrong TMPDIR.
Petr Vorel (3):
lib/tst_tmpdir: Normalize user defined TMPDIR
lib: Add test for tst_tmpdir
lib: Improve doc related to $TMPDIR default value
include/tst_defaults.h | 3 ++-
lib/newlib_tests/runtest.sh | 2 +-
lib/newlib_tests/tst_tmpdir.c | 49 +++++++++++++++++++++++++++++++++++
lib/tst_tmpdir.c | 20 ++++++++++++--
testcases/lib/tst_test.sh | 2 ++
5 files changed, 72 insertions(+), 4 deletions(-)
create mode 100644 lib/newlib_tests/tst_tmpdir.c
--
2.43.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2024-03-25 11:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 11:50 Petr Vorel [this message]
2024-03-25 11:50 ` [LTP] [PATCH v2 1/3] lib/tst_tmpdir: Normalize user defined TMPDIR Petr Vorel
2024-05-06 14:55 ` Martin Doucha
2024-05-06 21:31 ` Petr Vorel
2024-03-25 11:50 ` [LTP] [PATCH v2 2/3] lib: Add test for tst_tmpdir Petr Vorel
2024-03-25 11:50 ` [LTP] [PATCH v2 3/3] lib: Improve doc related to $TMPDIR default value 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=20240325115034.643892-1-pvorel@suse.cz \
--to=pvorel@suse.cz \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).