summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxchroot01/main.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-25 13:29:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-25 13:29:38 +0000
commit6287b5773f610368df70df3127586b9440e7b802 (patch)
treed4ae9c20ca57c274e01e9fa996cb404433db79ba /testsuites/psxtests/psxchroot01/main.c
parent2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es> (diff)
downloadrtems-6287b5773f610368df70df3127586b9440e7b802.tar.bz2
2001-05-25 Joel Sherrill <joel@OARcorp.com>
* Added once version of psxchroot01 test for user review. * psxchroot01: New directory. * psxchroot01/Makefile.am, psxchroot01/main.c, psxchroot01/test.c, psxchroot01/psxchroot01.scn, psxchroot01/.cvsignore: New files. * configure.in, Makefile.am: Modified to reflect above.
Diffstat (limited to 'testsuites/psxtests/psxchroot01/main.c')
-rw-r--r--testsuites/psxtests/psxchroot01/main.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxchroot01/main.c b/testsuites/psxtests/psxchroot01/main.c
new file mode 100644
index 0000000000..c19138573a
--- /dev/null
+++ b/testsuites/psxtests/psxchroot01/main.c
@@ -0,0 +1,34 @@
+/*
+ * Simple test program -- simplified version of sample test hello.
+ */
+
+#define TEST_INIT
+
+#include <bsp.h>
+
+void test_main( void );
+
+rtems_task Init(
+ rtems_task_argument ignored
+)
+{
+ test_main();
+ exit( 0 );
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+
+#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
+#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10
+
+#define CONFIGURE_MAXIMUM_TASKS 1
+
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT
+
+#include <confdefs.h>
+
+/* end of file */