aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
AgeCommit message (Collapse)Author
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-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-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
2018-03-15ssh: Fix non-working test + add log in test suiteHans Nilsson
2018-03-02ssh: Extend testcase to check the bugHans Nilsson
2018-03-02Merge branch 'hans/ssh/cuddle_tests' into maintHans Nilsson
* hans/ssh/cuddle_tests: ssh: Extend ssh_basic_SUITE:packet_size_zero to ...:packet_size Also got rid of some EXIT messages due to ssh_connection:shell/2 being async and ssh:close came too soon
2018-03-02Merge branch 'hans/ssh/execfix20/OTP-14881' into maintHans Nilsson
* hans/ssh/execfix20/OTP-14881: ssh: Disable exec for non-default shell ssh: Test for disabled shell
2018-03-01ssh: Extend ssh_basic_SUITE:packet_size_zero to ...:packet_sizeHans Nilsson
Also got rid of some EXIT messages due to ssh_connection:shell/2 being async and ssh:close came too soon
2018-02-28ssh: Insert missing ssh:stop() etc in test suitesHans Nilsson
2018-02-27ssh: Fix acceptor sup testcaseHans Nilsson
2018-02-27ssh: Fix cli testcaseHans Nilsson