mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests ~ fix CICD 'macos' test variation
This commit is contained in:
parent
3ae3d11a33
commit
bcc1cc0326
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ fn test_du_soft_link() {
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
fn _du_soft_link(s: String) {
|
fn _du_soft_link(s: String) {
|
||||||
assert_eq!(s, "16\tsubdir/links\n");
|
// 'macos' host variants may have `du` output variation for soft links
|
||||||
|
assert!((s == "12\tsubdir/links\n") || (s == "16\tsubdir/links\n"));
|
||||||
}
|
}
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
fn _du_soft_link(s: String) {
|
fn _du_soft_link(s: String) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue