Skip to content

Commit

Permalink
wezterm-ssh: avoid configuration default config files in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Jul 13, 2024
1 parent d4d5c03 commit 44c1335
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wezterm-ssh/tests/sshd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,10 @@ impl std::ops::DerefMut for SessionWithSshd {
pub async fn session(#[default(Config::new())] mut config: Config, sshd: Sshd) -> SessionWithSshd {
let port = sshd.port;

config.add_default_config_files();
// Do not add the default config files; they take the config of the
// user that is running the tests which can vary wildly and have
// inappropriate configuration that disrupts the tests.
// NO: config.add_default_config_files();

// Load our config to point to ourselves, using current sshd instance's port,
// generated identity file, and host file
Expand Down

0 comments on commit 44c1335

Please sign in to comment.