aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
AgeCommit message (Collapse)Author
2019-06-06Remove duplicate ssh_userauth.hrlPaul Meinhardt
The `ssh_userauth.hrl` header file was a duplicate of `ssh_auth.hrl` not used anywhere except for the ssh benchmark suite.
2019-04-17ssh: Fix deprecation warnings in testsHans Nilsson
2019-04-17ssh: Remove unused function warning in testsHans Nilsson
2019-04-17ssh: Remove unused var warning in testsHans Nilsson
2019-03-04crypto: Filter test case ciphers for supported onesHans Nilsson
2019-02-19Merge branch 'maint'Hans Nilsson
* maint: ssh: Refactor decryption in ssh_protocol_SUITE
2019-02-18ssh: Refactor decryption in ssh_protocol_SUITEHans Nilsson
Previously this test suite used a short-cut that didn't work well with the new crypto API being experimented with in other branches. This commit uses the legacy decode and decryption functions in ssh_transport. It is of course normally a bad idea to test something with itself. However, other test suites test the interoperability with OpenSSH and by that implicitly of the decoding/decryption. The ssh_protocol_SUITE tests sending malformed and even malicious PDUs to the Erlang/OTP SSH implementation. Therefore the tests in this suite is not dependent on being different than thoose of the system under test.
2019-01-25Merge branch 'maint'Hans Nilsson
* maint: ssh: Internal refactor and ct:log -> ct:pal ssh: Change unit in measurements ssh: Invert ssh_bench
2019-01-25ssh: Internal refactor and ct:log -> ct:palHans Nilsson
2019-01-25ssh: Change unit in measurementsHans Nilsson
2019-01-25ssh: Invert ssh_benchHans Nilsson
2019-01-17ssh: Adjust some calls to io:format()Hans Bolinder
2019-01-07ssh: Wait a bit for the docker client to finnish in ssh_compat_SUITEHans Nilsson
The testing with a remote client in a docker and a local server could show some hazards. For instance instructing the client to sftp a file to the server is not necessarily ready in the server's file system when the common_test is scheduled. To avoid that the test suite dooms a file operation to not have been performed, simply sleep at increasing times for a while with testing if it is done. After a while give up and signal a fault.
2018-12-27Merge branch 'hans/ssh/port_leak/OTP-15397' into maint-21Erlang/OTP
* hans/ssh/port_leak/OTP-15397: ssh: Fix port leakage for daemons failing at start ssh: Add port close test # Conflicts: # lib/ssh/test/ssh_basic_SUITE.erl
2018-12-21ssh: Add port close testHans Nilsson
2018-11-30crypto: Update test engine with fake rsa supportHans Nilsson
We need to test the Engine interface not only for loading, key retrieval and hashing, so it is complemented with a fake rsa method to check sign/verify also.
2018-11-19Merge branch 'hans/ssh/eddsa/OTP-15094' into maintHans Nilsson
* hans/ssh/eddsa/OTP-15094: ssh: Add Edward curves to the documentation ssh: Update test cases for eddsa ssh: Add public keys 'ssh-ed25519' and 'ssh-ed448'
2018-11-19ssh: Generalize unpublished test support optionHans Nilsson
Also rename the corresponding testcase in ssh_options_SUITE and add logging.
2018-11-19ssh: Update test cases for eddsaHans Nilsson
2018-11-09ssh: Clear remote user_dir in ssh_compat_SUITEHans Nilsson
2018-11-09ssh: Check compatibility with new OpenSSH versionsHans Nilsson
2018-11-01ssh: Add local .gitignore in lib/ssh/testHans Nilsson
2018-10-29ssh: Enable property_test/ssh_eqc_client_server for PropErHans Nilsson
PropEr does not support the grouped statem-tests. This commits calls the grouped functions from the functions supported by PropEr. Optimized with memoization. Previously only EQC was supported, but the changes to support PROPER is not just a wrapper. Since I don't have access to eqc I can't test the changes and therefore eqc is disabeled. However, with access to eqc it ought to be quite easy to re-enable eqc by studying the diff.
2018-10-29ssh: Used fixed localhost addressHans Nilsson
Problem on Darwin, Solaris and FreeBSD with local addresses in 127.1.0.0/8
2018-10-29ssh: Fix reporting functions in property_test/ssh_eqc_client_server.erlHans Nilsson
2018-10-29ssh: Fix property_test/ssh_eqc_client_info_timing.erlHans Nilsson
Had problems on Darwin, Solaris and FreeBSD.
2018-09-21Update copyright yearHenrik Nord
2018-08-23ssh: some benchmarking of [email protected]Hans Nilsson
2018-08-13ssh: Test group for circular buffer tracingHans Nilsson
2018-08-13ssh: Make dbg test one group in ssh_dbg_SUITEHans Nilsson
2018-06-18Update copyright yearHenrik Nord
2018-06-07ssh: Fix client_sends_info_timing property test caseHans Nilsson
2018-06-07ssh: Add ssh/test/property_test dir to test releasesHans Nilsson
2018-06-05ssh: Remove dubious pubkey setupHans Nilsson
Conflicts: lib/ssh/test/ssh_algorithms_SUITE.erl
2018-05-30ssh: Channel testsuiteHans Nilsson
2018-05-14ssh: Test cases fixesHans Nilsson
2018-05-09ssh: Test the infinity rekey_limit optionHans Nilsson
2018-05-04ssh: Extend rekey_limit to also take an optional timeHans Nilsson
2018-04-27ssh: ssh_daemon_channel replaced by ssh_server_channelHans Nilsson
2018-04-27ssh: Use ssh_daemon_channel_sup and ssh_damon_channelHans Nilsson
2018-04-26ssh: Test case fixHans Nilsson
The daemon kill is now so fast that the clients does not react fast enough in ssh_sup_SUITE:killed_acceptor_restarts/1
2018-04-25ssh: Better logging in test caseHans Nilsson
2018-04-19ssh: Declare serial for three test casesHans Nilsson
2018-04-19ssh: Increase timetrap for slow test machinesHans Nilsson
2018-03-29ssh: New test suite ssh_dbg_SUITE for testing ssh_dbgHans Nilsson
2018-03-29ssh: Simplify ssh_connection and ssh_connection_handler and their internal ↵Hans Nilsson
interfaces
2018-03-22ssh: Simplification of using fun:s as exec subsystemsHans Nilsson
2018-03-16ssh: Join basic and renegotiation suites and parallelizeHans Nilsson
2018-03-16ssh: Parallelize ssh_basic_SUITEHans Nilsson
2018-03-16ssh: Parallelize ssh_renegotiate_SUITEHans Nilsson