Skip to content

Commit

Permalink
issues: 7158 and 7159 - ignore linux arm64 specific test
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Jan 18, 2025
1 parent d93b487 commit b17b0c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/by-util/test_df.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@ fn test_include_exclude_same_type() {
);
}

#[cfg_attr(
all(target_arch = "aarch64", target_os = "linux"),
ignore = "Issue #7158 - Test not supported on ARM64 Linux"
)]
#[test]
fn test_total() {
// Example output:
Expand Down
4 changes: 4 additions & 0 deletions tests/by-util/test_uptime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ fn test_uptime_with_non_existent_file() {
// This will pass
#[test]
#[cfg(not(any(target_os = "openbsd", target_os = "macos")))]
#[cfg_attr(
all(target_arch = "aarch64", target_os = "linux"),
ignore = "Issue #7159 - Test not supported on ARM64 Linux"
)]
#[allow(clippy::too_many_lines, clippy::items_after_statements)]
fn test_uptime_with_file_containing_valid_boot_time_utmpx_record() {
// This test will pass for freebsd but we currently don't support changing the utmpx file for
Expand Down

0 comments on commit b17b0c1

Please sign in to comment.