| author | |
| committer | |
| log | 72eb9933fd9ab4a7cb19185fce6c06331a325327 |
| tree | 686184e728a77b1927fda3151dd28d66575a325e |
| parent | 43ccc2d81ec4c95c04dad9684f8b24633baab33e |
1 files changed, 1 insertions(+), 2 deletions(-)
lib/std/fs.zig+1-2| ... | ... | @@ -1754,8 +1754,7 @@ test "open file with lock twice, make sure it wasn't open at the same time" { |
| 1754 | 1754 | lock_file_for_test(&ctxs[ctx_idx]); |
| 1755 | 1755 | |
| 1756 | 1756 | if (childpid != 0) { |
| 1757 | var status: u32 = 0; | |
| 1758 | _ = std.os.linux.waitpid(childpid, &status, 0); | |
| 1757 | _ = std.os.waitpid(childpid, 0); | |
| 1759 | 1758 | |
| 1760 | 1759 | std.debug.assert(!ctxs[0].overlaps(&ctxs[1])); |
| 1761 | 1760 | } |