Skip to content

Commit 2efbd0c

Browse files
committed
issues: 7158 and 7159 - ignore linux arm64 specific test
1 parent 04e0efb commit 2efbd0c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/by-util/test_df.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,10 @@ fn test_include_exclude_same_type() {
357357
);
358358
}
359359

360+
#[cfg_attr(
361+
all(target_arch = "aarch64", target_os = "linux"),
362+
ignore = "Issue #7158 - Test not supported on ARM64 Linux"
363+
)]
360364
#[test]
361365
fn test_total() {
362366
// Example output:

tests/by-util/test_uptime.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ fn test_uptime_with_non_existent_file() {
9999
// This will pass
100100
#[test]
101101
#[cfg(not(any(target_os = "openbsd", target_os = "macos")))]
102+
#[cfg_attr(
103+
all(target_arch = "aarch64", target_os = "linux"),
104+
ignore = "Issue #7159 - Test not supported on ARM64 Linux"
105+
)]
102106
#[allow(clippy::too_many_lines, clippy::items_after_statements)]
103107
fn test_uptime_with_file_containing_valid_boot_time_utmpx_record() {
104108
// This test will pass for freebsd but we currently don't support changing the utmpx file for

0 commit comments

Comments
 (0)