From 78b1f0ead38f8086ebc5210823f470bfcaff742f Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Mon, 19 Nov 2018 13:10:48 +0100 Subject: tests: Introduce torture_create_temp_file() Introduced torture_create_temp_file() and torture_close_fp() to allow creating temprary files transparently in Unix and Windows environment. This also adds a unit test for the added functions. Signed-off-by: Anderson Toshiyuki Sasaki Reviewed-by: Andreas Schneider --- tests/unittests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/unittests/CMakeLists.txt') diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt index 04e905ca..730da341 100644 --- a/tests/unittests/CMakeLists.txt +++ b/tests/unittests/CMakeLists.txt @@ -17,6 +17,7 @@ set(LIBSSH_UNIT_TESTS torture_hashes torture_packet_filter torture_temp_dir + torture_temp_file ) set(LIBSSH_THREAD_UNIT_TESTS -- cgit v1.2.3