mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
tests: Introduce torture_make_temp_dir()
Introduces a function to create temporary dir for testing purposes. Also adds a minimal test for the temporary directory creation. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
1f6b929735
commit
65e16b8d9e
@@ -125,4 +125,6 @@ void torture_teardown_sshd_server(void **state);
|
||||
*/
|
||||
int torture_run_tests(void);
|
||||
|
||||
char *torture_make_temp_dir(const char *template);
|
||||
|
||||
#endif /* _TORTURE_H */
|
||||
|
||||
Reference in New Issue
Block a user