mirror of
https://github.com/uutils/coreutils
synced 2024-09-30 13:04:50 +00:00
Merge pull request #5017 from cakebaker/df_disable_some_tests_on_windows
df: disable failing tests on Windows
This commit is contained in:
commit
6e3ab23183
|
@ -258,7 +258,7 @@ fn test_type_option() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(target_os = "freebsd"))] // FIXME: fix this test for FreeBSD
|
||||
#[cfg(not(any(target_os = "freebsd", target_os = "windows")))] // FIXME: fix test for FreeBSD & Win
|
||||
fn test_type_option_with_file() {
|
||||
let fs_type = new_ucmd!()
|
||||
.args(&["--output=fstype", "."])
|
||||
|
@ -806,7 +806,7 @@ fn test_output_file_all_filesystems() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(target_os = "freebsd"))] // FIXME: fix this test for FreeBSD
|
||||
#[cfg(not(any(target_os = "freebsd", target_os = "windows")))] // FIXME: fix test for FreeBSD & Win
|
||||
fn test_output_file_specific_files() {
|
||||
// Create three files.
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
@ -825,7 +825,7 @@ fn test_output_file_specific_files() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(target_os = "freebsd"))] // FIXME: fix this test for FreeBSD
|
||||
#[cfg(not(any(target_os = "freebsd", target_os = "windows")))] // FIXME: fix test for FreeBSD & Win
|
||||
fn test_file_column_width_if_filename_contains_unicode_chars() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
at.touch("äöü.txt");
|
||||
|
@ -848,7 +848,7 @@ fn test_output_field_no_more_than_once() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(target_os = "freebsd"))] // FIXME: fix this test for FreeBSD
|
||||
#[cfg(not(any(target_os = "freebsd", target_os = "windows")))] // FIXME: fix test for FreeBSD & Win
|
||||
fn test_nonexistent_file() {
|
||||
new_ucmd!()
|
||||
.arg("does-not-exist")
|
||||
|
|
Loading…
Reference in a new issue