mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
testsuites/fstests/fsclose01: Fix expected flags
close() now holds a reference to the IOP this changes the expected flags in the test. This change reflects that. Updates #5311
This commit is contained in:
committed by
Gedare Bloom
parent
af75447c1a
commit
0e20f50870
@@ -547,7 +547,7 @@ static void test_close(test_context *ctx)
|
||||
rtems_test_assert(rv == -1);
|
||||
rtems_test_assert(errno == EBADF);
|
||||
flags = rtems_libio_iop_flags(iop);
|
||||
expected_flags = LIBIO_FLAGS_READ_WRITE;
|
||||
expected_flags = LIBIO_FLAGS_REFERENCE_INC | LIBIO_FLAGS_READ_WRITE;
|
||||
rtems_test_assert(flags == expected_flags);
|
||||
rtems_test_assert((iops_free - 1) == free_iops());
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user