Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106980456
D48328.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
532 B
Referenced Files
None
Subscribers
None
D48328.diff
View Options
diff --git a/tests/sys/aio/aio_kqueue_test.c b/tests/sys/aio/aio_kqueue_test.c
--- a/tests/sys/aio/aio_kqueue_test.c
+++ b/tests/sys/aio/aio_kqueue_test.c
@@ -211,8 +211,15 @@
printf("PASS: run %d, left %d\n", run,
pending - 1);
+ if (j < max_queue_per_proc) {
+ iocb[j] = NULL;
+ } else {
+ printf("FAIL: run %d, result %d; kq_iocb"
+ " %p not found (should never happen)\n",
+ run, result, kq_iocb);
+ failed++;
+ }
free(kq_iocb);
- iocb[j] = NULL;
pending--;
i++;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 11:14 AM (5 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15706073
Default Alt Text
D48328.diff (532 B)
Attached To
Mode
D48328: aio_kqueue_test: Fix CID 1558429
Attached
Detach File
Event Timeline
Log In to Comment