mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
cp/tail: use #[ignore] to disable tests
instead of a cfg attribute
This commit is contained in:
parent
1a5639b7d2
commit
692cdfac34
2 changed files with 5 additions and 5 deletions
|
@ -3525,7 +3525,7 @@ fn test_when_argument_file_is_a_symlink_to_directory_then_error() {
|
|||
// TODO: make this work on windows
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
#[cfg(disabled_until_fixed)]
|
||||
#[ignore = "disabled until fixed"]
|
||||
fn test_when_argument_file_is_a_faulty_symlink_then_error() {
|
||||
let ts = TestScenario::new(util_name!());
|
||||
let at = &ts.fixtures;
|
||||
|
@ -3557,7 +3557,7 @@ fn test_when_argument_file_is_a_faulty_symlink_then_error() {
|
|||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
#[cfg(disabled_until_fixed)]
|
||||
#[ignore = "disabled until fixed"]
|
||||
fn test_when_argument_file_is_non_existent_unix_socket_address_then_error() {
|
||||
use std::os::unix::net;
|
||||
|
||||
|
@ -3616,7 +3616,7 @@ fn test_when_argument_file_is_non_existent_unix_socket_address_then_error() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(disabled_until_fixed)]
|
||||
#[ignore = "disabled until fixed"]
|
||||
fn test_when_argument_files_are_simple_combinations_of_stdin_and_regular_file() {
|
||||
let scene = TestScenario::new(util_name!());
|
||||
let at = &scene.fixtures;
|
||||
|
@ -3718,7 +3718,7 @@ fn test_when_argument_files_are_simple_combinations_of_stdin_and_regular_file()
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(disabled_until_fixed)]
|
||||
#[ignore = "disabled until fixed"]
|
||||
fn test_when_argument_files_are_triple_combinations_of_fifo_pipe_and_regular_file() {
|
||||
let scene = TestScenario::new(util_name!());
|
||||
let at = &scene.fixtures;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue