summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxcleanup02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxcleanup02/init.c')
-rw-r--r--testsuites/psxtests/psxcleanup02/init.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxcleanup02/init.c b/testsuites/psxtests/psxcleanup02/init.c
new file mode 100644
index 0000000000..88ecfee47e
--- /dev/null
+++ b/testsuites/psxtests/psxcleanup02/init.c
@@ -0,0 +1,48 @@
+/*
+ * Copyright (c) 2015 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * 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.
+ */
+
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
+#include "tmacros.h"
+
+int main(int argc, char **argv);
+
+const char rtems_test_name[] = "PSXCLEANUP 2";
+
+static void *POSIX_Init(void *arg)
+{
+ TEST_BEGIN();
+
+ main(0, NULL);
+
+ TEST_END();
+ rtems_test_exit(0);
+}
+
+#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+#define CONFIGURE_MAXIMUM_POSIX_KEYS 1
+#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS 1
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>