Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ssh_cli to use prim_tty #8805

Conversation

frazze-jobb
Copy link
Contributor

Refactors ssh_cli to use prim_tty instead of its own thing.
Adds tests in interactive_shell_SUITE to test that the ssh client behaves the same as the 'erl' shell.

@frazze-jobb frazze-jobb added team:VM Assigned to OTP team VM enhancement labels Sep 12, 2024
@frazze-jobb frazze-jobb self-assigned this Sep 12, 2024
Copy link
Contributor

github-actions bot commented Sep 12, 2024

CT Test Results

    3 files     88 suites   1h 21m 22s ⏱️
1 915 tests 1 673 ✅ 242 💤 0 ❌
3 358 runs  3 045 ✅ 313 💤 0 ❌

Results for commit 71c78ba.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@frazze-jobb frazze-jobb force-pushed the frazze/ssh/ssh_cli_use_prim_tty/OTP-19226 branch from 3100387 to 82cedb7 Compare September 23, 2024 11:09
@frazze-jobb frazze-jobb force-pushed the frazze/ssh/ssh_cli_use_prim_tty/OTP-19226 branch from 82cedb7 to 147f0d6 Compare September 24, 2024 06:54
@frazze-jobb frazze-jobb force-pushed the frazze/ssh/ssh_cli_use_prim_tty/OTP-19226 branch from c9961d6 to 07519c4 Compare October 2, 2024 08:39
@frazze-jobb frazze-jobb added testing currently being tested, tag is used by OTP internal CI and removed testing currently being tested, tag is used by OTP internal CI labels Oct 7, 2024
@frazze-jobb frazze-jobb force-pushed the frazze/ssh/ssh_cli_use_prim_tty/OTP-19226 branch from 949f431 to 1efe40a Compare October 10, 2024 08:29
@frazze-jobb frazze-jobb added the testing currently being tested, tag is used by OTP internal CI label Oct 10, 2024
@frazze-jobb frazze-jobb force-pushed the frazze/ssh/ssh_cli_use_prim_tty/OTP-19226 branch from 1efe40a to 71c78ba Compare October 14, 2024 12:55
Comment on lines +125 to +136
[shell_navigation, shell_multiline_navigation,
shell_multiline_prompt_ssh,
shell_xnfix, shell_delete,
shell_transpose, shell_search, shell_insert,
shell_update_window,
shell_small_window_multiline_navigation,
shell_huge_input,
shell_support_ansi_input,
shell_receive_standard_out,
shell_expand_location_above,
shell_expand_location_below,
shell_clear]},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if perhaps we should move the tests that are common to both tty and shell to a separate function, or maybe a separate group? So that it is natural to add tests in both categories when adding new testcases.

@frazze-jobb frazze-jobb merged commit 758db55 into erlang:master Oct 23, 2024
17 checks passed
@frazze-jobb frazze-jobb deleted the frazze/ssh/ssh_cli_use_prim_tty/OTP-19226 branch October 30, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants