Skip to content

Commit

Permalink
renamings
Browse files Browse the repository at this point in the history
  • Loading branch information
cre4ture committed Jan 22, 2024
1 parent 142d502 commit 3d93920
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/common/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1634,7 +1634,7 @@ impl UCommand {
let (mut command,
captured_stdout,
captured_stderr,
captured_stdin) = self.build();
stdin_pty) = self.build();
log_info("run", self.to_string());

let child = command.spawn().unwrap();
Expand All @@ -1650,7 +1650,7 @@ impl UCommand {
.unwrap();
}

let mut child = UChild::from(self, child, captured_stdout, captured_stderr, captured_stdin);
let mut child = UChild::from(self, child, captured_stdout, captured_stderr, stdin_pty);

if let Some(input) = self.bytes_into_stdin.take() {
child.pipe_in(input);
Expand Down Expand Up @@ -1946,15 +1946,15 @@ impl UChild {
child: Child,
captured_stdout: Option<CapturedOutput>,
captured_stderr: Option<CapturedOutput>,
captured_stdin: Option<OwnedFd>
stdin_pty: Option<OwnedFd>
) -> Self {
Self {
raw: child,
bin_path: ucommand.bin_path.clone().unwrap(),
util_name: ucommand.util_name.clone(),
captured_stdout,
captured_stderr,
stdin_pty: captured_stdin,
stdin_pty,
ignore_stdin_write_error: ucommand.ignore_stdin_write_error,
stderr_to_stdout: ucommand.stderr_to_stdout,
join_handle: None,
Expand Down

0 comments on commit 3d93920

Please sign in to comment.