Description: Disable torture_path_expand_tilde_unix, its not working well on buildd On buildd, the HOME is set to a non-existing directory, this makes torture_path_expand_tilde_unix fail Author: Laurent Bigonville Forwarded: not-needed Last-Update: 2024-09-02 Index: libssh/tests/unittests/torture_misc.c =================================================================== --- libssh.orig/tests/unittests/torture_misc.c +++ libssh/tests/unittests/torture_misc.c @@ -1293,7 +1293,7 @@ int torture_run_tests(void) { #ifdef _WIN32 cmocka_unit_test(torture_path_expand_tilde_win), #else - cmocka_unit_test(torture_path_expand_tilde_unix), +// cmocka_unit_test(torture_path_expand_tilde_unix), #endif cmocka_unit_test_setup_teardown(torture_path_expand_escape, setup, Index: libssh/tests/unittests/torture_config.c =================================================================== --- libssh.orig/tests/unittests/torture_config.c +++ libssh/tests/unittests/torture_config.c @@ -2672,7 +2672,7 @@ static void torture_config_make_absolute { ssh_session session = *state; char *result = NULL; -#ifndef _WIN32 +#if 0 char h[256] = {0}; char *user = NULL; char *home = NULL; @@ -2716,7 +2716,7 @@ static void torture_config_make_absolute assert_string_equal(result, "/tmp/ssh/my_config"); free(result); -#ifndef _WIN32 +#if 0 /* Tilde expansion works only in user config */ result = ssh_config_make_absolute(session, "~/.ssh/config.d/*.conf", 0); snprintf(h, 256 - 1, "%s/.ssh/config.d/*.conf", home);