diff options
author | Laurent Cheylus <foxy@free.fr> | 2024-07-06 22:29:19 +0200 |
---|---|---|
committer | Laurent Cheylus <foxy@free.fr> | 2024-07-06 22:29:19 +0200 |
commit | de742e905be06c2b1d5626620438817228324ee8 (patch) | |
tree | 7889b4326bf2a10ba0315c4353eedc26da84956e /tests/by-util | |
parent | c96e639f2f1303c054e9327ee9cfee6c711665f5 (diff) |
tests: disable failed tests for tail on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
Diffstat (limited to 'tests/by-util')
-rw-r--r-- | tests/by-util/test_tail.rs | 57 |
1 files changed, 38 insertions, 19 deletions
diff --git a/tests/by-util/test_tail.rs b/tests/by-util/test_tail.rs index e7207b7da..07f49196e 100644 --- a/tests/by-util/test_tail.rs +++ b/tests/by-util/test_tail.rs @@ -30,7 +30,8 @@ use std::io::{Seek, SeekFrom}; not(target_vendor = "apple"), not(target_os = "android"), not(target_os = "windows"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] use std::path::Path; use std::process::Stdio; @@ -39,7 +40,8 @@ use tail::chunks::BUFFER_SIZE as CHUNK_BUFFER_SIZE; not(target_vendor = "apple"), not(target_os = "android"), not(target_os = "windows"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] use tail::text; @@ -294,7 +296,8 @@ fn test_follow_redirect_stdin_name_retry() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_stdin_redirect_dir() { // $ mkdir dir @@ -1214,7 +1217,8 @@ fn test_retry2() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_retry3() { // inspired by: gnu/tests/tail-2/retry.sh @@ -1258,7 +1262,8 @@ fn test_retry3() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_retry4() { // inspired by: gnu/tests/tail-2/retry.sh @@ -1315,7 +1320,8 @@ fn test_retry4() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_retry5() { // inspired by: gnu/tests/tail-2/retry.sh @@ -1401,7 +1407,8 @@ fn test_retry6() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_retry7() { // inspired by: gnu/tests/tail-2/retry.sh @@ -1475,7 +1482,8 @@ fn test_retry7() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_retry8() { // Ensure that inotify will switch to polling mode if directory @@ -1543,7 +1551,8 @@ fn test_retry8() { not(target_vendor = "apple"), not(target_os = "android"), not(target_os = "windows"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_retry9() { // inspired by: gnu/tests/tail-2/inotify-dir-recreate.sh @@ -1624,7 +1633,8 @@ fn test_retry9() { not(target_vendor = "apple"), not(target_os = "android"), not(target_os = "windows"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_descriptor_vs_rename1() { // inspired by: gnu/tests/tail-2/descriptor-vs-rename.sh @@ -1687,7 +1697,8 @@ fn test_follow_descriptor_vs_rename1() { not(target_vendor = "apple"), not(target_os = "android"), not(target_os = "windows"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_descriptor_vs_rename2() { // Ensure the headers are correct for --verbose. @@ -1739,7 +1750,8 @@ fn test_follow_descriptor_vs_rename2() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_name_retry_headers() { // inspired by: "gnu/tests/tail-2/F-headers.sh" @@ -2073,7 +2085,8 @@ fn test_follow_truncate_fast() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_name_move_create1() { // This test triggers a move/create event while `tail --follow=name file` is running. @@ -2128,7 +2141,8 @@ fn test_follow_name_move_create1() { not(target_vendor = "apple"), not(target_os = "android"), not(target_os = "windows"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_name_move_create2() { // inspired by: "gnu/tests/tail-2/inotify-hash-abuse.sh" @@ -2207,7 +2221,8 @@ fn test_follow_name_move_create2() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_name_move1() { // This test triggers a move event while `tail --follow=name file` is running. @@ -2268,7 +2283,8 @@ fn test_follow_name_move1() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_name_move2() { // Like test_follow_name_move1, but move to a name that's already monitored. @@ -2355,7 +2371,8 @@ fn test_follow_name_move2() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_name_move_retry1() { // Similar to test_follow_name_move1 but with `--retry` (`-F`) @@ -2414,7 +2431,8 @@ fn test_follow_name_move_retry1() { not(target_vendor = "apple"), not(target_os = "windows"), not(target_os = "android"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] // FIXME: for currently not working platforms fn test_follow_name_move_retry2() { // inspired by: "gnu/tests/tail-2/F-vs-rename.sh" @@ -4423,7 +4441,8 @@ fn test_args_when_directory_given_shorthand_big_f_together_with_retry() { #[cfg(all( not(target_vendor = "apple"), not(target_os = "windows"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd") ))] fn test_follow_when_files_are_pointing_to_same_relative_file_and_file_stays_same_size() { let scene = TestScenario::new(util_name!()); |