Skip to content

Commit a218f1b

Browse files
committed
tests: move online::clone::ssh_auth_methods into the ssh test suite
We're currently running it as part of the online suite but that doesn't have any setup for ssh so we won't find the GitHub keys we set up during the test. It doesn't need the private key setup as we just want to make sure we see some auth request from the server, but with the addition of hostkey checking we're now seeing it fail when we skip these tests.
1 parent c29651f commit a218f1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/libgit2/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ endif()
6666
include(AddClarTest)
6767
add_clar_test(libgit2_tests offline -v -xonline)
6868
add_clar_test(libgit2_tests invasive -v -sfilter::stream::bigfile -sodb::largefiles -siterator::workdir::filesystem_gunk -srepo::init -srepo::init::at_filesystem_root)
69-
add_clar_test(libgit2_tests online -v -sonline -xonline::customcert)
69+
add_clar_test(libgit2_tests online -v -sonline -xonline::customcert -xonline::clone::ssh_auth_methods)
7070
add_clar_test(libgit2_tests online_customcert -v -sonline::customcert)
7171
add_clar_test(libgit2_tests gitdaemon -v -sonline::push)
7272
add_clar_test(libgit2_tests gitdaemon_namespace -v -sonline::clone::namespace)
73-
add_clar_test(libgit2_tests ssh -v -sonline::push -sonline::clone::ssh_cert -sonline::clone::ssh_with_paths -sonline::clone::path_whitespace_ssh)
73+
add_clar_test(libgit2_tests ssh -v -sonline::push -sonline::clone::ssh_cert -sonline::clone::ssh_with_paths -sonline::clone::path_whitespace_ssh -sonline::clone::ssh_auth_methods)
7474
add_clar_test(libgit2_tests proxy -v -sonline::clone::proxy)
7575
add_clar_test(libgit2_tests auth_clone -v -sonline::clone::cred)
7676
add_clar_test(libgit2_tests auth_clone_and_push -v -sonline::clone::push -sonline::push)

0 commit comments

Comments
 (0)