Enable test under miri

nr_cpus() is stubbed since 9e1bcd0ab8.
reviewable/pr1190/r3
Tamir Duberstein 2 months ago
parent 429f5d3944
commit ae7cc46056
No known key found for this signature in database

@ -1083,7 +1083,6 @@ mod tests {
} }
#[test] #[test]
#[cfg_attr(miri, ignore = "nr_cpus() opens a file on procfs that upsets miri")]
fn test_create_perf_event_array() { fn test_create_perf_event_array() {
override_syscall(|call| match call { override_syscall(|call| match call {
Syscall::Ebpf { Syscall::Ebpf {

Loading…
Cancel
Save