RTEMS | cpukit/posix/aio*: Create notification at request completion (!118)

Alessandro Nardin (@AlessandroNardin) gitlab at rtems.org
Wed Jul 24 09:10:01 UTC 2024




Alessandro Nardin commented on a discussion on testsuites/psxtests/psxaio03/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109781

 > -  puts (" Init: Open files ");
 > +  TEST_BEGIN( );
 >  
 > -  for (i=0; i<FD_COUNT; i++)
 > +  for ( i=0; i<FD_COUNT; i++)
 >      {
 > -      sprintf (filename, "/tmp/aio_fildes%d",i);
 > -      fd[i] = open (filename, O_RDWR|O_CREAT, S_IRWXU|S_IRWXG|S_IRWXO);
 > -      rtems_test_assert ( fd[i] != -1);
 > +      sprintf( filename, "/tmp/aio_fildes%d",i );
 > +      fd[i] = open( 
 > +        filename, 
 > +        O_RDWR|O_CREAT, 
 > +        S_IRWXU|S_IRWXG|S_IRWXO 
 > +      );
 > +      rtems_test_assert(  fd[i] != -1 );

Checked all the files, i corrected the errors you pointed out and found some more. Hopefully now I caught everything.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109781
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240724/e368fcf0/attachment-0001.htm>


More information about the bugs mailing list