[LTP] [PATCH v2 0/3] Remove double or trailing slashes in TMPDIR in C API
Petr Vorel
pvorel@suse.cz
Mon Mar 25 12:50:31 CET 2024
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
More information about the ltp
mailing list