|
@@ -425,7 +425,7 @@ static void list_test_exec ( void ) {
|
425
|
425
|
pos = &list_tests[7];
|
426
|
426
|
list_iterate_entry_ok ( list_for_each_entry_continue, "293",
|
427
|
427
|
pos, list, list );
|
428
|
|
- pos = list_entry ( list, struct list_test, list );
|
|
428
|
+ ok ( pos == list_entry ( list, struct list_test, list ) );
|
429
|
429
|
list_iterate_entry_ok ( list_for_each_entry_continue, "47293",
|
430
|
430
|
pos, list, list );
|
431
|
431
|
pos = &list_tests[3];
|
|
@@ -434,7 +434,7 @@ static void list_test_exec ( void ) {
|
434
|
434
|
pos = &list_tests[2];
|
435
|
435
|
list_iterate_entry_ok ( list_for_each_entry_continue_reverse, "74",
|
436
|
436
|
pos, list, list );
|
437
|
|
- pos = list_entry ( list, struct list_test, list );
|
|
437
|
+ ok ( pos == list_entry ( list, struct list_test, list ) );
|
438
|
438
|
list_iterate_entry_ok ( list_for_each_entry_continue_reverse, "39274",
|
439
|
439
|
pos, list, list );
|
440
|
440
|
pos = &list_tests[4];
|