change log for rtems (2010-07-27)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Jul 27 14:11:08 UTC 2010
*joel*:
*** empty log message ***
M 1.2 testsuites/libtests/devfs04/devfs04.doc
M 1.2 testsuites/libtests/devfs04/init.c
M 1.2 testsuites/libtests/devfs04/test_driver.c
diff -u rtems/testsuites/libtests/devfs04/devfs04.doc:1.1 rtems/testsuites/libtests/devfs04/devfs04.doc:1.2
--- rtems/testsuites/libtests/devfs04/devfs04.doc:1.1 Thu Jul 22 06:54:10 2010
+++ rtems/testsuites/libtests/devfs04/devfs04.doc Tue Jul 27 08:54:56 2010
@@ -17,6 +17,7 @@
+ devFS_read
+ devFS_write
++ null_initialize
concepts:
@@ -24,3 +25,5 @@
paths in the read / write routines for devFS. These are invoked using
the system calls read() and write().
++ The write call is forwarded to null_write, thus exercising
+null_write too.
diff -u rtems/testsuites/libtests/devfs04/init.c:1.1 rtems/testsuites/libtests/devfs04/init.c:1.2
--- rtems/testsuites/libtests/devfs04/init.c:1.1 Thu Jul 22 06:54:10 2010
+++ rtems/testsuites/libtests/devfs04/init.c Tue Jul 27 08:54:56 2010
@@ -18,6 +18,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include "test_driver.h"
+#include <rtems/devnull.h>
rtems_task Init(
rtems_task_argument argument
@@ -60,8 +61,10 @@
rtems_test_assert( status == -1 );
rtems_test_assert( errno == ENOSYS );
- puts( "*** END OF TEST DEVFS04 ***" );
+ status = mknod( "/dev/null", 0777 | S_IFCHR, 0LL );
+ rtems_test_assert( status == 0 );
+ puts( "*** END OF TEST DEVFS04 ***" );
rtems_test_exit(0);
}
diff -u rtems/testsuites/libtests/devfs04/test_driver.c:1.1 rtems/testsuites/libtests/devfs04/test_driver.c:1.2
--- rtems/testsuites/libtests/devfs04/test_driver.c:1.1 Thu Jul 22 06:54:10 2010
+++ rtems/testsuites/libtests/devfs04/test_driver.c Tue Jul 27 08:54:56 2010
@@ -17,7 +17,7 @@
#include <rtems.h>
#include "test_driver.h"
#include <rtems/libio.h>
-
+#include <rtems/devnull.h>
/*
* The test driver routines are mostly derived from the null driver routines.
*/
@@ -158,7 +158,7 @@
if ( rw_args ) {
if( rw_args->count == 5 )
- rw_args->bytes_moved = rw_args->count;
+ return null_write( 0, 0, pargp );
else {
rw_args->bytes_moved = 0;
return RTEMS_NOT_IMPLEMENTED;
*joel*:
2010-07-27 Bharath Suri <bharath.s.jois at gmail.com>
PR 1632/testing
* devfs04/init.c, devfs04/test_driver.c: Added cases to exercise
null_initialize() and null_write().
M 1.215 testsuites/libtests/ChangeLog
diff -u rtems/testsuites/libtests/ChangeLog:1.214 rtems/testsuites/libtests/ChangeLog:1.215
--- rtems/testsuites/libtests/ChangeLog:1.214 Sun Jul 25 10:51:55 2010
+++ rtems/testsuites/libtests/ChangeLog Tue Jul 27 08:56:30 2010
@@ -1,3 +1,9 @@
+2010-07-27 Bharath Suri <bharath.s.jois at gmail.com>
+
+ PR 1632/testing
+ * devfs04/init.c, devfs04/test_driver.c: Added cases to exercise
+ null_initialize() and null_write().
+
2010-07-25 Joel Sherrill <joel.sherrill at oarcorp.com>
* gxx01/gxx01.scn, gxx01/init.c: Remove local _exit().
*joel*:
2010-07-27 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1632/testing
* Makefile.am, configure.ac: Make dedicated fatal error test for
/dev/null already registered. Using code from Bharath in new test
framework.
* devnullfatal01/.cvsignore, devnullfatal01/Makefile.am,
devnullfatal01/devnullfatal01.doc, devnullfatal01/devnullfatal01.scn,
devnullfatal01/testcase.h: New files.
M 1.216 testsuites/libtests/ChangeLog
M 1.43 testsuites/libtests/Makefile.am
M 1.50 testsuites/libtests/configure.ac
A 1.1 testsuites/libtests/devnullfatal01/.cvsignore
A 1.1 testsuites/libtests/devnullfatal01/Makefile.am
A 1.1 testsuites/libtests/devnullfatal01/devnullfatal01.doc
A 1.1 testsuites/libtests/devnullfatal01/devnullfatal01.scn
A 1.1 testsuites/libtests/devnullfatal01/testcase.h
diff -u rtems/testsuites/libtests/ChangeLog:1.215 rtems/testsuites/libtests/ChangeLog:1.216
--- rtems/testsuites/libtests/ChangeLog:1.215 Tue Jul 27 08:56:30 2010
+++ rtems/testsuites/libtests/ChangeLog Tue Jul 27 08:57:16 2010
@@ -1,3 +1,13 @@
+2010-07-27 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1632/testing
+ * Makefile.am, configure.ac: Make dedicated fatal error test for
+ /dev/null already registered. Using code from Bharath in new test
+ framework.
+ * devnullfatal01/.cvsignore, devnullfatal01/Makefile.am,
+ devnullfatal01/devnullfatal01.doc, devnullfatal01/devnullfatal01.scn,
+ devnullfatal01/testcase.h: New files.
+
2010-07-27 Bharath Suri <bharath.s.jois at gmail.com>
PR 1632/testing
diff -u rtems/testsuites/libtests/Makefile.am:1.42 rtems/testsuites/libtests/Makefile.am:1.43
--- rtems/testsuites/libtests/Makefile.am:1.42 Thu Jul 22 06:54:10 2010
+++ rtems/testsuites/libtests/Makefile.am Tue Jul 27 08:57:16 2010
@@ -6,7 +6,8 @@
SUBDIRS = POSIX
-SUBDIRS += bspcmdline01 cpuuse devfs01 devfs02 devfs03 devfs04 gxx01 \
+SUBDIRS += bspcmdline01 cpuuse devfs01 devfs02 devfs03 devfs04 \
+ devnullfatal01 gxx01 \
malloctest malloc02 malloc03 malloc04 malloc05 heapwalk \
putenvtest monitor monitor02 rtmonuse stackchk stackchk01 \
termios termios01 termios02 termios03 termios04 termios05 \
diff -u rtems/testsuites/libtests/configure.ac:1.49 rtems/testsuites/libtests/configure.ac:1.50
--- rtems/testsuites/libtests/configure.ac:1.49 Thu Jul 22 06:54:10 2010
+++ rtems/testsuites/libtests/configure.ac Tue Jul 27 08:57:16 2010
@@ -49,6 +49,7 @@
devfs02/Makefile
devfs03/Makefile
devfs04/Makefile
+devnullfatal01/Makefile
gxx01/Makefile
heapwalk/Makefile
malloctest/Makefile
diff -u /dev/null rtems/testsuites/libtests/devnullfatal01/.cvsignore:1.1
--- /dev/null Tue Jul 27 09:11:07 2010
+++ rtems/testsuites/libtests/devnullfatal01/.cvsignore Tue Jul 27 08:57:16 2010
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff -u /dev/null rtems/testsuites/libtests/devnullfatal01/Makefile.am:1.1
--- /dev/null Tue Jul 27 09:11:07 2010
+++ rtems/testsuites/libtests/devnullfatal01/Makefile.am Tue Jul 27 08:57:16 2010
@@ -0,0 +1,29 @@
+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = devnullfatal01
+devnullfatal01_SOURCES = ../../sptests/spfatal_support/init.c \
+ ../../sptests/spfatal_support/system.h testcase.h
+
+dist_rtems_tests_DATA = devnullfatal01.scn
+dist_rtems_tests_DATA += devnullfatal01.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+AM_CPPFLAGS += -I$(top_srcdir)/../../sptests/spfatal_support
+
+LINK_OBJS = $(devnullfatal01_OBJECTS) $(devnullfatal01_LDADD)
+LINK_LIBS = $(devnullfatal01_LDLIBS)
+
+devnullfatal01$(EXEEXT): $(devnullfatal01_OBJECTS) \
+ $(devnullfatal01_DEPENDENCIES)
+ @rm -f devnullfatal01$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
diff -u /dev/null rtems/testsuites/libtests/devnullfatal01/devnullfatal01.doc:1.1
--- /dev/null Tue Jul 27 09:11:07 2010
+++ rtems/testsuites/libtests/devnullfatal01/devnullfatal01.doc Tue Jul 27 08:57:17 2010
@@ -0,0 +1,23 @@
+#
+# $Id$
+#
+# COPYRIGHT (c) 1989-2010.
+# On-Line Applications Research Corporation (OAR).
+#
+# The license and distribution terms for this file may be
+# found in the file LICENSE in this distribution or at
+# http://www.rtems.com/license/LICENSE.
+#
+
+This file describes the directives and concepts tested by this test set.
+
+test set name: devnullfatal01
+
+directives:
+
+ rtems_io_register_name
+ null_initialize
+
+concepts:
+
++ Exercise fatal error when /dev/null has already been registered.
diff -u /dev/null rtems/testsuites/libtests/devnullfatal01/devnullfatal01.scn:1.1
--- /dev/null Tue Jul 27 09:11:07 2010
+++ rtems/testsuites/libtests/devnullfatal01/devnullfatal01.scn Tue Jul 27 08:57:17 2010
@@ -0,0 +1,3 @@
+*** TEST FATAL /DEV/NULL FATAL 01 ***
+Fatal error (/dev/null already registered) hit
+*** END OF TEST ***
diff -u /dev/null rtems/testsuites/libtests/devnullfatal01/testcase.h:1.1
--- /dev/null Tue Jul 27 09:11:07 2010
+++ rtems/testsuites/libtests/devnullfatal01/testcase.h Tue Jul 27 08:57:17 2010
@@ -0,0 +1,31 @@
+/*
+ * COPYRIGHT (c) 1989-2010.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#define FATAL_ERROR_TEST_NAME "/DEV/NULL FATAL 01"
+#define FATAL_ERROR_DESCRIPTION "/dev/null already registered"
+#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API
+#define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
+#define FATAL_ERROR_EXPECTED_ERROR RTEMS_TOO_MANY
+
+#include <rtems/devnull.h>
+
+void force_error()
+{
+ int status;
+
+ status = rtems_io_register_name( "/dev/null", 0, 0 );
+
+ status = null_initialize( 0, 0, NULL );
+
+ /* A fatal error would be raised in previous call */
+ /* we will not run this far */
+}
+
*ralf*:
Regenerate.
M 1.4 contrib/crossrpms/cygwin/i686/i686-pc-cygwin-terminfo.spec
diff -u rtems/contrib/crossrpms/cygwin/i686/i686-pc-cygwin-terminfo.spec:1.3 rtems/contrib/crossrpms/cygwin/i686/i686-pc-cygwin-terminfo.spec:1.4
--- rtems/contrib/crossrpms/cygwin/i686/i686-pc-cygwin-terminfo.spec:1.3 Thu Feb 4 08:07:56 2010
+++ rtems/contrib/crossrpms/cygwin/i686/i686-pc-cygwin-terminfo.spec Tue Jul 27 08:17:23 2010
@@ -30,11 +30,11 @@
%define _host_rpmprefix %{nil}
%endif
-%define terminfo_version 5.7_20091114-13
-%define terminfo_rpmvers %{expand:%(echo 5.7_20091114-13 | tr - _)}
+%define terminfo_version 5.7_20091114-14
+%define terminfo_rpmvers %{expand:%(echo 5.7_20091114-14 | tr - _)}
Name: i686-pc-cygwin-terminfo
-Release: 0.20100204.0%{?dist}
+Release: 0.20100726.0%{?dist}
License: GPL
Group: Development/Tools
*ralf*:
Update cyginw, terminfo.
M 1.60 contrib/crossrpms/cygwin/i686/Makefile.am
diff -u rtems/contrib/crossrpms/cygwin/i686/Makefile.am:1.59 rtems/contrib/crossrpms/cygwin/i686/Makefile.am:1.60
--- rtems/contrib/crossrpms/cygwin/i686/Makefile.am:1.59 Mon Apr 26 22:03:52 2010
+++ rtems/contrib/crossrpms/cygwin/i686/Makefile.am Tue Jul 27 08:18:28 2010
@@ -4,8 +4,8 @@
include $(top_srcdir)/mkspec.am
-CYGWIN_VERS = 1.7.1-1
-CYGWIN_RPMREL = 0.20100204.0%{?dist}
+CYGWIN_VERS = 1.7.5-1
+CYGWIN_RPMREL = 0.20100726.0%{?dist}
include ../cygwin.am
CLOOG_PPL_VERS = 0.15.7-1
@@ -32,8 +32,8 @@
TERMCAP_RPMREL = 0.20090827.0%{?dist}
include ../termcap.am
-TERMINFO_VERS = 5.7_20091114-13
-TERMINFO_RPMREL = 0.20100204.0%{?dist}
+TERMINFO_VERS = 5.7_20091114-14
+TERMINFO_RPMREL = 0.20100726.0%{?dist}
include ../terminfo.am
ZLIB_VERS = 1.2.3-10
*ralf*:
Apply missing commit.
M 1.61 contrib/crossrpms/cygwin/i686/Makefile.am
diff -u rtems/contrib/crossrpms/cygwin/i686/Makefile.am:1.60 rtems/contrib/crossrpms/cygwin/i686/Makefile.am:1.61
--- rtems/contrib/crossrpms/cygwin/i686/Makefile.am:1.60 Tue Jul 27 08:18:28 2010
+++ rtems/contrib/crossrpms/cygwin/i686/Makefile.am Tue Jul 27 08:19:56 2010
@@ -62,7 +62,7 @@
GCC_VERS = 3.4.4
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20100427.0
+GCC_RPMREL = 0.20100711.0
include ../gcc.am
GCC_OPTS += --languages=c,cxx
GCC_OPTS += --disable-infos
--
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/20100727/2c65dee2/attachment-0001.html>
More information about the vc
mailing list