aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/CMakeLists.txt
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2018-11-20 14:01:57 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-28 15:51:06 +0100
commit0dd2b375c770854f73fa64b8e43c741e074de7e6 (patch)
treeabda610bbcec6c88406a96285790fe950a088958 /tests/unittests/CMakeLists.txt
parent77be4ce9056e86f13b06fe15f410d663f5e7b771 (diff)
downloadlibssh-0dd2b375c770854f73fa64b8e43c741e074de7e6.tar.gz
libssh-0dd2b375c770854f73fa64b8e43c741e074de7e6.tar.xz
libssh-0dd2b375c770854f73fa64b8e43c741e074de7e6.zip
tests: Introduce functions to change directories
This introduces torture_get_current_working_dir() and torture_change_dir() to allow changing directories in tests. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/unittests/CMakeLists.txt')
-rw-r--r--tests/unittests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt
index 730da341..d2dbdd72 100644
--- a/tests/unittests/CMakeLists.txt
+++ b/tests/unittests/CMakeLists.txt
@@ -18,6 +18,7 @@ set(LIBSSH_UNIT_TESTS
torture_packet_filter
torture_temp_dir
torture_temp_file
+ torture_push_pop_dir
)
set(LIBSSH_THREAD_UNIT_TESTS