mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
tests/cp: remove FreeBSD guard in FIFO copy test
Copying FIFOs now work under FreeBSD and other UNIX platforms.
This commit is contained in:
parent
77fadc6897
commit
b75d0f9446
1 changed files with 1 additions and 7 deletions
|
@ -3471,15 +3471,9 @@ fn test_same_file_force_backup() {
|
|||
}
|
||||
|
||||
/// Test for copying the contents of a FIFO as opposed to the FIFO object itself.
|
||||
#[cfg(all(unix, not(target_os = "freebsd"), not(target_os = "openbsd")))]
|
||||
#[cfg(unix)]
|
||||
#[test]
|
||||
fn test_copy_contents_fifo() {
|
||||
// TODO this test should work on FreeBSD, but the command was
|
||||
// causing an error:
|
||||
//
|
||||
// cp: 'fifo' -> 'outfile': the source path is neither a regular file nor a symlink to a regular file
|
||||
//
|
||||
// the underlying `std::fs:copy` doesn't support copying fifo on freeBSD
|
||||
let scenario = TestScenario::new(util_name!());
|
||||
let at = &scenario.fixtures;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue