mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-27 23:58:58 +08:00
2010-04-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c: Add check for errno on chdir(NULL).
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-04-28 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psxfile01/test.c: Add check for errno on chdir(NULL).
|
||||
|
||||
2010-04-25 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psxrdwrv/test.c: Use SIZE_MAX not SSIZE_MAX.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* /dev
|
||||
* /dev/XXX [where XXX includes at least console]
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2009.
|
||||
* COPYRIGHT (c) 1989-2010.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -220,6 +220,7 @@ int main(
|
||||
/* test rtems_filesystem_evaluate_path by sending NULL path */
|
||||
status = chdir( NULL );
|
||||
rtems_test_assert( status == -1 );
|
||||
rtems_test_assert( errno == EFAULT );
|
||||
|
||||
/*
|
||||
* Now switch gears and exercise rmdir().
|
||||
|
||||
Reference in New Issue
Block a user