summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-28 15:12:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-28 15:12:10 +0000
commit5c104e08bbaac56b75ac660094b9e9798c7b0b4e (patch)
treecf24308975ef3accac81df3a3051a8110d163f33 /testsuites
parentAdded include of <sys/select.h> in attempt to remove compilation warning. (diff)
downloadrtems-5c104e08bbaac56b75ac660094b9e9798c7b0b4e.tar.bz2
New test added - psxcancel. This is just a shell for now.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/Makefile.am2
-rw-r--r--testsuites/psxtests/psxcancel/init.c28
-rw-r--r--testsuites/psxtests/psxcancel/psxcancel.scn3
3 files changed, 32 insertions, 1 deletions
diff --git a/testsuites/psxtests/Makefile.am b/testsuites/psxtests/Makefile.am
index 99f1f69130..7cd45b9bf8 100644
--- a/testsuites/psxtests/Makefile.am
+++ b/testsuites/psxtests/Makefile.am
@@ -14,7 +14,7 @@ $(PREINSTALLDIRS):
all-local: $(PREINSTALLDIRS)
POSIX_DIRS = psxhdrs psx01 psx02 psx03 psx04 psx05 psx06 psx07 psx08 psx09 \
- psx10 psx11 psx12 psxtime psxtimer
+ psx10 psx11 psx12 psxtime psxtimer psxcancel
POSIX_FILES_DIRS = psxfile01 psxreaddir psxstat psxmount psx13
diff --git a/testsuites/psxtests/psxcancel/init.c b/testsuites/psxtests/psxcancel/init.c
new file mode 100644
index 0000000000..8e3ead8fd0
--- /dev/null
+++ b/testsuites/psxtests/psxcancel/init.c
@@ -0,0 +1,28 @@
+/*
+ * COPYRIGHT (c) 1989-1998.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#define CONFIGURE_INIT
+#include "system.h"
+#include <sched.h>
+
+void *POSIX_Init(
+ void *argument
+)
+{
+
+ puts( "\n\n*** POSIX CANCEL TEST ***" );
+
+ puts( "*** END OF POSIX CANCEL TEST ***" );
+ exit( 0 );
+
+ return NULL; /* just so the compiler thinks we returned something */
+}
diff --git a/testsuites/psxtests/psxcancel/psxcancel.scn b/testsuites/psxtests/psxcancel/psxcancel.scn
new file mode 100644
index 0000000000..f6ef3ac9d3
--- /dev/null
+++ b/testsuites/psxtests/psxcancel/psxcancel.scn
@@ -0,0 +1,3 @@
+*** POSIX CANCEL TEST ***
+
+*** END OF POSIX CANCEL TEST ***