Skip to content

Commit d59d98e

Browse files
committed
tests/fold: test fold on pseudo devices only for bsds and linux
1 parent c758f2a commit d59d98e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/by-util/test_fold.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ fn test_bytewise_carriage_return_is_not_word_boundary() {
890890
.stdout_is("fizz\rb\nuzz\rfi\nzzbuzz"); // spell-checker:disable-line
891891
}
892892

893+
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "netbsd"))]
893894
#[test]
894895
fn test_bytewise_read_from_pseudo_device() {
895896
let mut child = new_ucmd!().arg("-b").arg("/dev/zero").run_no_wait();

0 commit comments

Comments
 (0)