forked from Imagelibrary/rtems
2010-07-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* psxfile01/test.c: Avoid NULL pointer access.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-07-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
|
||||
|
||||
* psxfile01/test.c: Avoid NULL pointer access.
|
||||
|
||||
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
|
||||
|
||||
PR 1617/testing
|
||||
|
||||
@@ -339,10 +339,10 @@ int main(
|
||||
rtems_test_assert( fd == -1 );
|
||||
rtems_test_assert( errno == EINVAL );
|
||||
|
||||
puts( "Exercise the reentrant version _link_r -- Expect EFAULT" );
|
||||
status = _link_r( NULL, NULL, NULL );
|
||||
puts( "Exercise the reentrant version _link_r -- Expect EEXIST" );
|
||||
status = _link_r( NULL, "", "" );
|
||||
rtems_test_assert( status == -1 );
|
||||
rtems_test_assert( errno == EFAULT );
|
||||
rtems_test_assert( errno == EEXIST );
|
||||
|
||||
puts( "Unlink /tmp/bha using the reentrant version -- OK" );
|
||||
status = _unlink_r( NULL, "/tmp/bha" );
|
||||
|
||||
Reference in New Issue
Block a user