fixup! std: unix process: Test exit statuses / wait statuses

This commit is contained in:
Ian Jackson 2023-08-22 19:43:00 +01:00
parent 2727f82526
commit 281b0501f6

View File

@ -175,7 +175,7 @@ fn unix_exit_statuses() {
use crate::process::*;
for exit_code in 0..=0xff {
// TODO impl From<ExitCode> for ExitStatus and then test that here too;
// FIXME impl From<ExitCode> for ExitStatus and then test that here too;
// the two ExitStatus values should be the same
let raw_wait_status = exit_code << 8;
let exit_status = ExitStatus::from_raw(raw_wait_status);