diff options
author | Cyril Hrubis <chrubis@suse.cz> | 2019-02-20 16:32:26 +0100 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2019-02-20 16:32:26 +0100 |
commit | 08968c19931c7d95d2a1e2ff4a63d4de31585bd9 (patch) | |
tree | a894170b8bf8d20af4dbe5903eb3885d4db04474 /include | |
parent | 87613dc631e1709de8b9b90f2ffb29e2d226c60f (diff) |
include/tst_test: Expose tst_get_tmpdir() to newlib tests.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/tst_test.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tst_test.h b/include/tst_test.h index 12dda2e79..ef7643f8f 100644 --- a/include/tst_test.h +++ b/include/tst_test.h @@ -243,6 +243,12 @@ const char *tst_strstatus(int status); unsigned int tst_timeout_remaining(void); void tst_set_timeout(int timeout); + +/* + * Returns path to the test temporary directory in a newly allocated buffer. + */ +char *tst_get_tmpdir(void); + #ifndef TST_NO_DEFAULT_MAIN static struct tst_test test; |