Merge all 5 batch PRs: security, CLI features, protocol, performance, tests/docs #143
@@ -3,11 +3,13 @@
|
||||
#include "transport_ssh.h"
|
||||
|
||||
static void test_ssh_connect_invalid_dest_no_colon() {
|
||||
/* cppcheck-suppress constVariablePointer */
|
||||
Client* c = client_connect_ssh("/path/to/dest", 22);
|
||||
EXPECT_NULL(c);
|
||||
}
|
||||
|
||||
static void test_ssh_connect_invalid_dest_empty() {
|
||||
/* cppcheck-suppress constVariablePointer */
|
||||
Client* c = client_connect_ssh("", 22);
|
||||
EXPECT_NULL(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user