diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index fc955db4c..e3b373da1 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -3306,7 +3306,7 @@ fn test_symbolic_link_file() { #[test] fn test_src_base_dot() { let ts = TestScenario::new(util_name!()); - let at = ts.fixtures.clone(); + let at = &ts.fixtures; at.mkdir("x"); at.mkdir("y"); ts.ucmd() diff --git a/tests/by-util/test_dd.rs b/tests/by-util/test_dd.rs index 213ab5138..a3b007909 100644 --- a/tests/by-util/test_dd.rs +++ b/tests/by-util/test_dd.rs @@ -1641,7 +1641,7 @@ fn test_seek_past_dev() { fn test_reading_partial_blocks_from_fifo() { // Create the FIFO. let ts = TestScenario::new(util_name!()); - let at = ts.fixtures.clone(); + let at = &ts.fixtures; at.mkfifo("fifo"); let fifoname = at.plus_as_string("fifo"); @@ -1682,7 +1682,7 @@ fn test_reading_partial_blocks_from_fifo() { fn test_reading_partial_blocks_from_fifo_unbuffered() { // Create the FIFO. let ts = TestScenario::new(util_name!()); - let at = ts.fixtures.clone(); + let at = ts.fixtures; at.mkfifo("fifo"); let fifoname = at.plus_as_string("fifo");