Files
FastSync/tests/test_transport_ssh.c
TapTap 3d598040dd
CI / lint (pull_request) Failing after 8s
CI / build-and-test (pull_request) Has been skipped
CI / sanitizers (address) (pull_request) Has been skipped
CI / sanitizers (undefined) (pull_request) Has been skipped
CI / fuzz-build (pull_request) Has been skipped
CI / coverage (pull_request) Has been skipped
CI / valgrind (pull_request) Has been skipped
test: add transport module unit tests; docs: update README (#39, #119)
2026-07-21 16:55:07 +02:00

19 lines
445 B
C

#include "test_transport_ssh.h"
#include "test_utils.h"
#include "transport_ssh.h"
static void test_ssh_connect_invalid_dest_no_colon() {
Client* c = client_connect_ssh("/path/to/dest", 22);
EXPECT_NULL(c);
}
static void test_ssh_connect_invalid_dest_empty() {
Client* c = client_connect_ssh("", 22);
EXPECT_NULL(c);
}
void test_transport_ssh() {
test_ssh_connect_invalid_dest_no_colon();
test_ssh_connect_invalid_dest_empty();
}