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

tests: fix Freebsd test failures

This commit is contained in:
Jan Scheer 2022-08-05 08:04:25 +02:00
parent fa47af73d0
commit 0555745052
No known key found for this signature in database
GPG key ID: C62AD4C29E2B9828
2 changed files with 3 additions and 8 deletions

View file

@ -1,6 +1,3 @@
#[cfg(all(unix, not(target_os = "macos")))]
use pretty_assertions::assert_ne;
use crate::common::util::*;
// spell-checker:ignore (flags) lwmcL clmwL ; (path) bogusfile emptyfile manyemptylines moby notrailingnewline onelongemptyline onelongword weirdchars
@ -404,6 +401,7 @@ fn test_read_from_nonexistent_file() {
#[test]
#[cfg(any(target_os = "linux", target_os = "android"))]
fn test_files_from_pseudo_filesystem() {
use pretty_assertions::assert_ne;
let result = new_ucmd!().arg("-c").arg("/proc/cpuinfo").succeeds();
assert_ne!(result.stdout_str(), "0 /proc/cpuinfo\n");
}