Changeset 320fe72c in rtems


Ignore:
Timestamp:
Jul 16, 2010, 9:23:42 AM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b8e7e2f
Parents:
89b85e51
Message:

2010-07-16 Sebastian Huber <Sebastian.Huber@…>

  • psxfile01/test.c: Avoid NULL pointer access.
Location:
testsuites/psxtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r89b85e51 r320fe72c  
     12010-07-16      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
     2
     3        * psxfile01/test.c: Avoid NULL pointer access.
     4
    152010-07-15      Bharath Suri <bharath.s.jois@gmail.com>
    26
  • testsuites/psxtests/psxfile01/test.c

    r89b85e51 r320fe72c  
    340340  rtems_test_assert( errno == EINVAL );
    341341
    342   puts( "Exercise the reentrant version _link_r -- Expect EFAULT" );
    343   status = _link_r( NULL, NULL, NULL );
    344   rtems_test_assert( status == -1 );
    345   rtems_test_assert( errno == EFAULT );
     342  puts( "Exercise the reentrant version _link_r -- Expect EEXIST" );
     343  status = _link_r( NULL, "", "" );
     344  rtems_test_assert( status == -1 );
     345  rtems_test_assert( errno == EEXIST );
    346346
    347347  puts( "Unlink /tmp/bha using the reentrant version -- OK" );
Note: See TracChangeset for help on using the changeset viewer.