| ... | @@ -1754,8 +1754,7 @@ test "open file with lock twice, make sure it wasn't open at the same time" { | ... | @@ -1754,8 +1754,7 @@ test "open file with lock twice, make sure it wasn't open at the same time" { |
| 1754 | lock_file_for_test(&ctxs[ctx_idx]); | 1754 | lock_file_for_test(&ctxs[ctx_idx]); |
| 1755 | | 1755 | |
| 1756 | if (childpid != 0) { | 1756 | if (childpid != 0) { |
| 1757 | var status: u32 = 0; | 1757 | _ = std.os.waitpid(childpid, 0); |
| 1758 | _ = std.os.linux.waitpid(childpid, &status, 0); | | |
| 1759 | | 1758 | |
| 1760 | std.debug.assert(!ctxs[0].overlaps(&ctxs[1])); | 1759 | std.debug.assert(!ctxs[0].overlaps(&ctxs[1])); |
| 1761 | } | 1760 | } |