include/tst_test: Expose tst_tmpdir and tst_rmdir to newlib tests.
PATCH 1/1 include/tst_test: Expose tst_tmpdir and tst_rmdir to newlib tests.
Signed-off-by zhanglianjie <[email protected]>
include/tst_test.h +8 -0
@@ -303,6 +303,14 @@ void tst_set_timeout(int timeout);* Returns path to the test temporary directory in a newly allocated buffer. */ char *tst_get_tmpdir (void ); +/* +* Make the temporary directory and change to the temporary directory. +*/ +void tst_tmpdir (void ); +/* +* Remove the temporary directory. +*/ +void tst_rmdir (void );#ifndef TST_NO_DEFAULT_MAIN
--
2.20.1
PATCH 1/1 include/tst_test: Expose tst_tmpdir and tst_rmdir to newlib tests.
Hi!
The test temporary temporary directory is created in the test library when the .needs_tmpdir flag is set and these functions are not exported to new library API for this reason.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 1/1 include/tst_test: Expose tst_tmpdir and tst_rmdir to newlib tests.
Oh i see, thank you.
? 2021/8/5 17:38, Cyril Hrubis ??:
Quoted 5 lines
Hi!
The test temporary temporary directory is created in the test library when the .needs_tmpdir flag is set and these functions are not exported to new library API for this reason.