mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #6388 from cakebaker/tail_ignore_some_tests
tail: use `#[ignore]` to disable tests
This commit is contained in:
commit
b029e27dd8
1 changed files with 7 additions and 8 deletions
|
@ -48,7 +48,6 @@ const FOLLOW_NAME_SHORT_EXP: &str = "follow_name_short.expected";
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
const FOLLOW_NAME_EXP: &str = "follow_name.expected";
|
const FOLLOW_NAME_EXP: &str = "follow_name.expected";
|
||||||
|
|
||||||
#[cfg(not(windows))]
|
|
||||||
const DEFAULT_SLEEP_INTERVAL_MILLIS: u64 = 1000;
|
const DEFAULT_SLEEP_INTERVAL_MILLIS: u64 = 1000;
|
||||||
|
|
||||||
// The binary integer "10000000" is *not* a valid UTF-8 encoding
|
// The binary integer "10000000" is *not* a valid UTF-8 encoding
|
||||||
|
@ -84,7 +83,7 @@ fn test_stdin_explicit() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
// FIXME: the -f test fails with: Assertion failed. Expected 'tail' to be running but exited with status=exit status: 0
|
// FIXME: the -f test fails with: Assertion failed. Expected 'tail' to be running but exited with status=exit status: 0
|
||||||
#[cfg(disable_until_fixed)]
|
#[ignore = "disabled until fixed"]
|
||||||
#[cfg(not(target_vendor = "apple"))] // FIXME: for currently not working platforms
|
#[cfg(not(target_vendor = "apple"))] // FIXME: for currently not working platforms
|
||||||
fn test_stdin_redirect_file() {
|
fn test_stdin_redirect_file() {
|
||||||
// $ echo foo > f
|
// $ echo foo > f
|
||||||
|
@ -2596,7 +2595,7 @@ fn test_fifo() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
#[cfg(disable_until_fixed)]
|
#[ignore = "disabled until fixed"]
|
||||||
fn test_illegal_seek() {
|
fn test_illegal_seek() {
|
||||||
// This is here for reference only.
|
// This is here for reference only.
|
||||||
// We don't call seek on fifos, so we don't hit this error case.
|
// We don't call seek on fifos, so we don't hit this error case.
|
||||||
|
@ -3434,7 +3433,7 @@ fn test_args_when_presume_input_pipe_given_input_is_file() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(disable_until_fixed)]
|
#[ignore = "disabled until fixed"]
|
||||||
// FIXME: currently missing in the error message is the last line >>tail: no files remaining<<
|
// FIXME: currently missing in the error message is the last line >>tail: no files remaining<<
|
||||||
fn test_when_follow_retry_given_redirected_stdin_from_directory_then_correct_error_message() {
|
fn test_when_follow_retry_given_redirected_stdin_from_directory_then_correct_error_message() {
|
||||||
let ts = TestScenario::new(util_name!());
|
let ts = TestScenario::new(util_name!());
|
||||||
|
@ -3830,7 +3829,7 @@ fn test_when_argument_files_are_triple_combinations_of_fifo_pipe_and_regular_fil
|
||||||
// test system. However, this behavior shows up on the command line and, at the time of writing this
|
// test system. However, this behavior shows up on the command line and, at the time of writing this
|
||||||
// description, with this test on macos and windows.
|
// description, with this test on macos and windows.
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(disable_until_fixed)]
|
#[ignore = "disabled until fixed"]
|
||||||
fn test_when_follow_retry_then_initial_print_of_file_is_written_to_stdout() {
|
fn test_when_follow_retry_then_initial_print_of_file_is_written_to_stdout() {
|
||||||
let scene = TestScenario::new(util_name!());
|
let scene = TestScenario::new(util_name!());
|
||||||
let at = &scene.fixtures;
|
let at = &scene.fixtures;
|
||||||
|
@ -4141,7 +4140,7 @@ fn test_args_when_settings_check_warnings_follow_indefinitely_then_no_warning()
|
||||||
|
|
||||||
/// The expected test outputs come from gnu's tail.
|
/// The expected test outputs come from gnu's tail.
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(disable_until_fixed)]
|
#[ignore = "disabled until fixed"]
|
||||||
fn test_follow_when_files_are_pointing_to_same_relative_file_and_data_is_appended() {
|
fn test_follow_when_files_are_pointing_to_same_relative_file_and_data_is_appended() {
|
||||||
let scene = TestScenario::new(util_name!());
|
let scene = TestScenario::new(util_name!());
|
||||||
let at = &scene.fixtures;
|
let at = &scene.fixtures;
|
||||||
|
@ -4229,7 +4228,7 @@ fn test_follow_when_files_are_pointing_to_same_relative_file_and_data_is_appende
|
||||||
|
|
||||||
/// The expected test outputs come from gnu's tail.
|
/// The expected test outputs come from gnu's tail.
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(disable_until_fixed)]
|
#[ignore = "disabled until fixed"]
|
||||||
fn test_follow_when_files_are_pointing_to_same_relative_file_and_file_is_truncated() {
|
fn test_follow_when_files_are_pointing_to_same_relative_file_and_file_is_truncated() {
|
||||||
let scene = TestScenario::new(util_name!());
|
let scene = TestScenario::new(util_name!());
|
||||||
let at = &scene.fixtures;
|
let at = &scene.fixtures;
|
||||||
|
@ -4282,7 +4281,7 @@ fn test_follow_when_files_are_pointing_to_same_relative_file_and_file_is_truncat
|
||||||
/// The expected test outputs come from gnu's tail.
|
/// The expected test outputs come from gnu's tail.
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
#[cfg(disable_until_fixed)]
|
#[ignore = "disabled until fixed"]
|
||||||
fn test_follow_when_file_and_symlink_are_pointing_to_same_file_and_append_data() {
|
fn test_follow_when_file_and_symlink_are_pointing_to_same_file_and_append_data() {
|
||||||
let scene = TestScenario::new(util_name!());
|
let scene = TestScenario::new(util_name!());
|
||||||
let at = &scene.fixtures;
|
let at = &scene.fixtures;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue