mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-14 15:23:15 +00:00
fix it more
This commit is contained in:
@@ -63,7 +63,7 @@ execute_struct_checks :: proc(t: ^testing.T) {
|
||||
waiting: for {
|
||||
status: i32
|
||||
wpid := posix.waitpid(pid, &status, {})
|
||||
if status == -1 && posix.errno() == .EINTR {
|
||||
if wpid == -1 && posix.errno() == .EINTR {
|
||||
continue
|
||||
}
|
||||
if !testing.expectf(t, wpid != -1, "waitpid() failure: %v", posix.strerror()) {
|
||||
|
||||
Reference in New Issue
Block a user