From 89cd2dfe94ac5587d63a785a072e3bc64ff70153 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 Mar 2011 19:39:44 +0000 Subject: 2011-03-09 Joel Sherrill * devfs04/devfs04.scn, devfs04/init.c: Increase configuration so this passes on sis. --- testsuites/libtests/ChangeLog | 5 +++++ testsuites/libtests/devfs04/devfs04.scn | 1 + testsuites/libtests/devfs04/init.c | 2 ++ 3 files changed, 8 insertions(+) (limited to 'testsuites') diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index 68e59c2e26..5a215c6a91 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,3 +1,8 @@ +2011-03-09 Joel Sherrill + + * devfs04/devfs04.scn, devfs04/init.c: Increase configuration so this + passes on sis. + 2011-03-09 Sebastian Huber * malloctest/init.c: Improve coverage. diff --git a/testsuites/libtests/devfs04/devfs04.scn b/testsuites/libtests/devfs04/devfs04.scn index fb76d358ce..b65f3044ea 100644 --- a/testsuites/libtests/devfs04/devfs04.scn +++ b/testsuites/libtests/devfs04/devfs04.scn @@ -6,4 +6,5 @@ Init - attempt to open the /dev/test RD mode -- OK Init - attempt to read from /dev/test -- OK Init - attempt to read from /dev/test - expect ENOSYS Init - attempt ioctl on the device - expect ENOSYS +Init - mknod(/dev/null)-- OK *** END OF TEST DEVFS04 *** diff --git a/testsuites/libtests/devfs04/init.c b/testsuites/libtests/devfs04/init.c index cc343a0ae4..79ae5818ad 100644 --- a/testsuites/libtests/devfs04/init.c +++ b/testsuites/libtests/devfs04/init.c @@ -65,6 +65,7 @@ rtems_task Init( rtems_test_assert( status == -1 ); rtems_test_assert( errno == ENOSYS ); + puts( "Init - mknod(/dev/null)-- OK" ); status = mknod( "/dev/null", 0777 | S_IFCHR, 0LL ); rtems_test_assert( status == 0 ); @@ -80,6 +81,7 @@ rtems_task Init( /* include an extra slot for registering the termios one dynamically */ #define CONFIGURE_MAXIMUM_DRIVERS 3 +#define CONFIGURE_MAXIMUM_DEVICES 6 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5 -- cgit v1.2.3