From 6dbce7c3dee55a25354d535356d8dae5850006da Mon Sep 17 00:00:00 2001 From: Manabu Sugimoto Date: Tue, 31 May 2022 16:25:16 +0900 Subject: [PATCH] agent: Remove unused import in console test Remove some unused imports in console test module used by runk's test. Fixes: #4351 Signed-off-by: Manabu Sugimoto --- src/agent/rustjail/src/console.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/agent/rustjail/src/console.rs b/src/agent/rustjail/src/console.rs index 23cf6e8408..52e33f3929 100644 --- a/src/agent/rustjail/src/console.rs +++ b/src/agent/rustjail/src/console.rs @@ -58,10 +58,7 @@ pub fn setup_master_console(socket_fd: RawFd) -> Result<()> { #[cfg(test)] mod tests { use super::*; - use crate::skip_if_not_root; - use std::fs::File; use std::os::unix::net::UnixListener; - use std::path::PathBuf; use tempfile::{self, tempdir}; const CONSOLE_SOCKET: &str = "console-socket";