You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: procctl.rs
    path of file: ./repos/rustix/tests/process
    
    the code of the file until where you have to start completion: use rustix::io;
use rustix::process::*;

#[test]
fn test_parent_process_deat
    
fn test_reaper_status() {
    match set_reaper_status(false).unwrap_err() {
        io::Errno::INVAL => (),
        io::Errno::PERM => return, // FreeBSD 12 doesn't support this
        err => panic!("{:?}", err),
    };
    set_reaper_status(true).unwrap();
    let status_while_acq = dbg!(get_reaper_status(None).unwrap());
    set_reaper_status(false).unwrap();
    let status_while_rel = dbg!(get_reaper_status(None).unwrap());
    assert!(status_while_acq.flags.contains(ReaperStatusFlags::OWNED));
    assert!(!status_while_rel.flags.contains(ReaperStatusFlags::OWNED));
}