Skip to content

Commit

Permalink
runc/src/io: added the missing imports to unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaxiao Zhou (Mossaka) <duibao55328@gmail.com>
  • Loading branch information
Mossaka committed Nov 17, 2024
1 parent 9559a52 commit 7110c93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/runc/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ mod tests {
#[cfg(not(feature = "async"))]
#[test]
fn test_create_piped_io() {
use std::io::{Read, Write};

let opts = IOOption::default();
let uid = nix::unistd::getuid();
let gid = nix::unistd::getgid();
Expand Down

0 comments on commit 7110c93

Please sign in to comment.