Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ jobs:
run: cargo test --verbose
- name: Run tests (Linux 4.14 support)
run: cargo test --verbose --features linux4_14

- name: Run tests (Linux 5.7 support)
run: cargo test --verbose --features linux5_7
- name: Run tests (Linux 5.13 support)
run: cargo test --verbose --features linux5_13
- name: Run tests (Linux 5.7 and 5.13 support)
run: cargo test --verbose --features linux5_7,linux5_13

audit:

Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,9 @@ mod test {
uffd.write_protect(mapping, PAGE_SIZE)?;
uffd.wake(mapping, PAGE_SIZE)?;
}
// The mapping is not registered in minor mode.
#[cfg(feature = "linux5_13")]
FaultKind::Minor => panic!("unexpected minor fault"),
},
_ => panic!("unexpected event"),
}
Expand Down
Loading