| ... | ... | @@ -1097,6 +1097,7 @@ test "openat/close" { |
| 1097 | 1097 | var cqe_openat = try ring.copy_cqe(); |
| 1098 | 1098 | if (cqe_openat.res == -linux.EINVAL) return error.SkipZigTest; |
| 1099 | 1099 | testing.expectEqual(@as(u64, 789), cqe_openat.user_data); |
| 1100 | if (cqe_openat.res <= 0) std.debug.print("\ncqe_openat.res={}\n", .{ cqe_openat.res }); |
| 1100 | 1101 | testing.expect(cqe_openat.res > 0); |
| 1101 | 1102 | testing.expectEqual(@as(u32, 0), cqe_openat.flags); |
| 1102 | 1103 | |
| ... | ... | @@ -1159,6 +1160,7 @@ test "accept/connect/send/recv" { |
| 1159 | 1160 | } |
| 1160 | 1161 | |
| 1161 | 1162 | testing.expectEqual(@as(u64, 0xaaaaaaaa), cqe_accept.user_data); |
| 1163 | if (cqe_accept.res <= 0) std.debug.print("\ncqe_accept.res={}\n", .{ cqe_accept.res }); |
| 1162 | 1164 | testing.expect(cqe_accept.res > 0); |
| 1163 | 1165 | testing.expectEqual(@as(u32, 0), cqe_accept.flags); |
| 1164 | 1166 | testing.expectEqual(linux.io_uring_cqe { |