1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

priv.h, torture_misc.c: Fix clang-format formatting complaints

Fixed include order and formatting issues regarding the 80 char
column width limit

Signed-off-by: Eshan Kelkar <eshankelkar@galorithm.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Eshan Kelkar
2024-08-20 14:10:08 +05:30
committed by Jakub Jelen
parent e0aa182e7e
commit d8f00aca20
2 changed files with 10 additions and 4 deletions

View File

@ -30,10 +30,10 @@
#define _LIBSSH_PRIV_H #define _LIBSSH_PRIV_H
#include <limits.h> #include <limits.h>
#include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdbool.h>
#include <time.h> #include <time.h>
#if !defined(HAVE_STRTOULL) #if !defined(HAVE_STRTOULL)

View File

@ -1256,9 +1256,15 @@ int torture_run_tests(void) {
#else #else
cmocka_unit_test(torture_path_expand_tilde_unix), cmocka_unit_test(torture_path_expand_tilde_unix),
#endif #endif
cmocka_unit_test_setup_teardown(torture_path_expand_escape, setup, teardown), cmocka_unit_test_setup_teardown(torture_path_expand_escape,
cmocka_unit_test_setup_teardown(torture_path_expand_known_hosts, setup, teardown), setup,
cmocka_unit_test_setup_teardown(torture_path_expand_percent, setup, teardown), teardown),
cmocka_unit_test_setup_teardown(torture_path_expand_known_hosts,
setup,
teardown),
cmocka_unit_test_setup_teardown(torture_path_expand_percent,
setup,
teardown),
cmocka_unit_test(torture_timeout_elapsed), cmocka_unit_test(torture_timeout_elapsed),
cmocka_unit_test(torture_timeout_update), cmocka_unit_test(torture_timeout_update),
cmocka_unit_test(torture_ssh_analyze_banner), cmocka_unit_test(torture_ssh_analyze_banner),