Skip to content

Commit 82fd064

Browse files
committed
disable some tests in qemu
1 parent 3f0998a commit 82fd064

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/sys/test_prctl.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use nix::sys::prctl;
22

3+
#[cfg_attr(qemu, ignore)]
34
#[test]
45
fn test_get_set_subreaper() {
56
let subreaper = prctl::get_child_subreaper().unwrap();
@@ -43,6 +44,7 @@ fn test_get_set_clear_mce_kill() {
4344
assert_eq!(mce, PR_MCE_KILL_DEFAULT);
4445
}
4546

47+
#[cfg_attr(qemu, ignore)]
4648
#[test]
4749
fn test_get_set_pdeathsig() {
4850
use nix::sys::signal::Signal;

0 commit comments

Comments
 (0)