1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

tests ~ disable failing tail test under windows code coverage (with future FixME)

* FixME/note: test_mktemp::test_mktemp_make_temp_dir, test_mktemp::test_mktemp_mktemp, and test_mktemp::test_mktemp_suffix are also failing locally though not for CICD coverage builds
This commit is contained in:
Roy Ivy III 2020-08-10 00:15:26 -05:00
parent ec964d1b36
commit c6274b4003

View file

@ -4,9 +4,6 @@ use self::tail::parse_size;
use crate::common::util::*; use crate::common::util::*;
use std::char::from_digit; use std::char::from_digit;
use std::io::Write; use std::io::Write;
use std::process::{Command, Stdio};
use std::thread::sleep;
use std::time::Duration;
static FOOBAR_TXT: &'static str = "foobar.txt"; static FOOBAR_TXT: &'static str = "foobar.txt";
static FOOBAR_2_TXT: &'static str = "foobar2.txt"; static FOOBAR_2_TXT: &'static str = "foobar2.txt";
@ -98,8 +95,14 @@ fn test_follow_stdin() {
.stdout_is_fixture("follow_stdin.expected"); .stdout_is_fixture("follow_stdin.expected");
} }
// FixME: test PASSES for usual windows builds, but fails for coverage testing builds (likely related to the specific RUSTFLAGS '-Zpanic_abort_tests -Cpanic=abort')
#[cfg(not(windows))]
#[test] #[test]
fn test_follow_with_pid() { fn test_follow_with_pid() {
use std::process::{Command, Stdio};
use std::thread::sleep;
use std::time::Duration;
let (at, mut ucmd) = at_and_ucmd!(); let (at, mut ucmd) = at_and_ucmd!();
#[cfg(unix)] #[cfg(unix)]