mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
rm: add test for #4246
This commit is contained in:
parent
f3285d9662
commit
ea8085e2ca
1 changed files with 16 additions and 0 deletions
|
@ -554,3 +554,19 @@ fn test_prompt_write_protected_no() {
|
|||
scene.ucmd().arg(file_2).pipe_in("n").succeeds();
|
||||
assert!(at.file_exists(file_2));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(windows))]
|
||||
fn test_fifo_removal() {
|
||||
use std::time::Duration;
|
||||
|
||||
let scene = TestScenario::new(util_name!());
|
||||
let at = &scene.fixtures;
|
||||
at.mkfifo("some_fifo");
|
||||
|
||||
scene
|
||||
.ucmd()
|
||||
.arg("some_fifo")
|
||||
.timeout(Duration::from_secs(2))
|
||||
.succeeds();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue