change log for rtems (2010-07-15)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Jul 15 13:11:29 UTC 2010


 *sh*:
2010-07-16	Sebastian Huber <Sebastian.Huber at embedded-brains.de>

	* psxstat/test.c: Avoid NULL pointer access.

M  1.293  testsuites/psxtests/ChangeLog
M   1.29  testsuites/psxtests/psxstat/test.c

diff -u rtems/testsuites/psxtests/ChangeLog:1.292 rtems/testsuites/psxtests/ChangeLog:1.293
--- rtems/testsuites/psxtests/ChangeLog:1.292	Tue Jul 13 16:13:12 2010
+++ rtems/testsuites/psxtests/ChangeLog	Thu Jul 15 07:15:56 2010
@@ -1,3 +1,7 @@
+2010-07-16	Sebastian Huber <Sebastian.Huber at embedded-brains.de>
+
+	* psxstat/test.c: Avoid NULL pointer access.
+
 2010-07-12	Bharath Suri <bharath.s.jois at gmail.com>
 
 	PR 1613/testing

diff -u rtems/testsuites/psxtests/psxstat/test.c:1.28 rtems/testsuites/psxtests/psxstat/test.c:1.29
--- rtems/testsuites/psxtests/psxstat/test.c:1.28	Tue Jul 13 16:13:13 2010
+++ rtems/testsuites/psxtests/psxstat/test.c	Thu Jul 15 07:15:56 2010
@@ -780,10 +780,10 @@
   int status = 0;
   struct statvfs stat;
 
-  puts( "statvfs, with invalid path - expect EFAULT" );
-  status = statvfs( NULL , &stat );
+  puts( "statvfs, with invalid path - expect ENOTSUP" );
+  status = statvfs( "" , &stat );
   rtems_test_assert( status == -1 );
-  rtems_test_assert( errno == EFAULT );
+  rtems_test_assert( errno == ENOTSUP );
 
   puts( "create /tmp -- OK" );
   status = mkdir( "/tmp", 0777 );



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100715/09361ddd/attachment-0001.html>


More information about the vc mailing list