summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxrdwrv/main.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-24 21:34:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-24 21:34:47 +0000
commit41f17ba4a5e603ae5360962ac9f9fda9064f554a (patch)
tree7be92d93b0b8bc3014959ed7aec1652c1fef59b2 /testsuites/psxtests/psxrdwrv/main.c
parentRemove C++ comment. (diff)
downloadrtems-41f17ba4a5e603ae5360962ac9f9fda9064f554a.tar.bz2
2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1262/filesystem * Makefile.am, configure.ac, include/pmacros.h: Add support for readv() and writev() including documentation and test case. * psxrdwrv/.cvsignore, psxrdwrv/Makefile.am, psxrdwrv/main.c, psxrdwrv/psxrdwrv.scn, psxrdwrv/test.c: New files.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxrdwrv/main.c45
1 files changed, 45 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxrdwrv/main.c b/testsuites/psxtests/psxrdwrv/main.c
new file mode 100644
index 0000000000..3b864ac7e7
--- /dev/null
+++ b/testsuites/psxtests/psxrdwrv/main.c
@@ -0,0 +1,45 @@
+/*
+ * Simple test program -- simplified version of sample test hello.
+ *
+ * COPYRIGHT (c) 1989-1999.
+ * 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 TEST_INIT
+
+#include <bsp.h>
+#include <pmacros.h>
+
+void test_main( void );
+
+rtems_task Init(
+ rtems_task_argument ignored
+)
+{
+ test_main();
+ rtems_test_exit( 0 );
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
+#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
+
+#define CONFIGURE_MAXIMUM_TASKS 1
+
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>
+
+/* end of file */