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:
parent
ec964d1b36
commit
c6274b4003
1 changed files with 6 additions and 3 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue