Skip to content

Commit 122177d

Browse files
authored
Merge pull request #2 from rexleimo/fix/windows-exitstatus-tests
fix(tests): make docker command ExitStatusExt portable
2 parents eed720a + 7cfe50b commit 122177d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • crates/rexos-tools/src/ops/process/exec/docker/command

crates/rexos-tools/src/ops/process/exec/docker/command/tests.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
#[cfg(unix)]
12
use std::os::unix::process::ExitStatusExt;
23

4+
#[cfg(windows)]
5+
use std::os::windows::process::ExitStatusExt;
6+
37
use super::output::docker_exec_result;
48

59
#[test]

0 commit comments

Comments
 (0)