Changeset 92e0eed in rtems for testsuites


Ignore:
Timestamp:
Oct 22, 2018, 5:58:44 AM (13 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
3825926
Parents:
b4043ea
git-author:
Sebastian Huber <sebastian.huber@…> (10/22/18 05:58:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/22/18 06:06:05)
Message:

psxreaddir: Adjust test due to opendir() changes

Update #3545.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxreaddir/test.c

    rb4043ea r92e0eed  
    372372
    373373  printf("opendir, readdir and closedir %s\n", my_file);
     374#ifdef O_DIRECTORY
     375  fd = open( my_file, O_RDONLY );
     376  rtems_test_assert( fd >= 0 );
     377  directory_not = fdopendir( fd );
     378#else
    374379  directory_not = opendir (my_file);
     380#endif
    375381  rtems_test_assert( directory_not != NULL );
    376382  d_not = readdir(directory_not);
Note: See TracChangeset for help on using the changeset viewer.