2010-04-28 Joel Sherrill <joel.sherrill@oarcorp.com>

* psxfile01/test.c: Add check for errno on chdir(NULL).
This commit is contained in:
Joel Sherrill
2010-04-28 15:01:51 +00:00
parent cbe57ec919
commit cb930b4dae
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -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.
+2 -1
View File
@@ -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().