Repository navigation
Conversation
vszakats
force-pushed
the
test-syncup
branch
2 times, most recently
from
April 15, 2023 02:58
19c3277 to
55c9c5c
Compare
Include libssh2_priv.h and use LIBSSH2_<feature> macros to enable tests for them. "signed" keys don't seem to be crypto-backend dependent, adjust guards accordingly.
Also assume wolfSSL, but this hasn't been tested.
Couldn't figure out what is the property of `key_dsa_wrong` that makes it wrong. Existing file seems valid and has no password.
agreppin
pushed a commit
to agreppin/libssh2
that referenced
this pull request
Jul 14, 2024
- rename tests to have more succint names and a more useful natural order. - rename `simple` and `ssh2` in tests to have the `test_` prefix. This avoids a name collisions with `ssh2` in examples. - cmake: drop the `example-` prefix for generated examples. Bringing their names in sync with other build tools, like autotools. - move common auth test code into the fixture and simplify tests by using that. - move feature guards from CMake to preprocessor for auth tests. Now it works with all build tools and it's easier to keep it in sync with the lib itself. For this we need to include `libssh2_priv.h` in tests, which in turn needs tweaking on the trick we use to suppress extra MSVS warnings when building tests and examples. - move mbedTLS blocklist for crypto tests from CMake to the test fixture. - add ed25519 hostkey tests to `test_hostkey` and `test_hostkey_hash`. - add shell script to regenerate all test keys used for our tests. - alpha-sort tests. - rename `signed_*` keys to begin with `key` like the rest of the keys do. - whitespace fixes. Closes libssh2#969
vszakats
added a commit
that referenced
this pull request
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rename tests to have more succint names and a more useful natural
order.
rename
simpleandssh2in tests to have thetest_prefix.This avoids a name collisions with
ssh2in examples.cmake: drop the
example-prefix for generated examples.Bringing their names in sync with other build tools, like autotools.
move common auth test code into the fixture and simplify tests by
using that.
move feature guards from CMake to preprocessor for auth tests.
Now it works with all build tools and it's easier to keep it in sync
with the lib itself.
For this we need to include
libssh2_priv.hin tests, which in turnneeds tweaking on the trick we use to suppress extra MSVS warnings
when building tests and examples.
move mbedTLS blocklist for crypto tests from CMake to the test
fixture.
add ed25519 hostkey tests to
test_hostkeyandtest_hostkey_hash.add shell script to regenerate all test keys used for our tests.
alpha-sort tests.
rename
signed_*keys to begin withkeylike the rest of the keysdo.
whitespace fixes.
Closes #969