From 1b297b4af21a9d53d625c9f4ad6b9610056f1228 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 23 May 1996 21:10:12 +0000 Subject: new files --- c/src/tests/psxtests/psxhdrs/signal20.c | 26 ++++++++++++++++++++++++++ c/src/tests/psxtests/psxhdrs/signal21.c | 23 +++++++++++++++++++++++ c/src/tests/psxtests/psxhdrs/signal22.c | 26 ++++++++++++++++++++++++++ testsuites/psxtests/psxhdrs/signal20.c | 26 ++++++++++++++++++++++++++ testsuites/psxtests/psxhdrs/signal21.c | 23 +++++++++++++++++++++++ testsuites/psxtests/psxhdrs/signal22.c | 26 ++++++++++++++++++++++++++ 6 files changed, 150 insertions(+) create mode 100644 c/src/tests/psxtests/psxhdrs/signal20.c create mode 100644 c/src/tests/psxtests/psxhdrs/signal21.c create mode 100644 c/src/tests/psxtests/psxhdrs/signal22.c create mode 100644 testsuites/psxtests/psxhdrs/signal20.c create mode 100644 testsuites/psxtests/psxhdrs/signal21.c create mode 100644 testsuites/psxtests/psxhdrs/signal22.c diff --git a/c/src/tests/psxtests/psxhdrs/signal20.c b/c/src/tests/psxtests/psxhdrs/signal20.c new file mode 100644 index 0000000000..f0d83c86b3 --- /dev/null +++ b/c/src/tests/psxtests/psxhdrs/signal20.c @@ -0,0 +1,26 @@ +/* + * This test file is used to verify that the header files associated with + * the callout are correct. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +#include + +void test( void ) +{ + unsigned int seconds; + unsigned int result; + + seconds = 10; + + result = alarm( seconds ); +} diff --git a/c/src/tests/psxtests/psxhdrs/signal21.c b/c/src/tests/psxtests/psxhdrs/signal21.c new file mode 100644 index 0000000000..08d3cd6158 --- /dev/null +++ b/c/src/tests/psxtests/psxhdrs/signal21.c @@ -0,0 +1,23 @@ +/* + * This test file is used to verify that the header files associated with + * the callout are correct. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +#include + +void test( void ) +{ + int result; + + result = pause(); +} diff --git a/c/src/tests/psxtests/psxhdrs/signal22.c b/c/src/tests/psxtests/psxhdrs/signal22.c new file mode 100644 index 0000000000..fb6a399738 --- /dev/null +++ b/c/src/tests/psxtests/psxhdrs/signal22.c @@ -0,0 +1,26 @@ +/* + * This test file is used to verify that the header files associated with + * the callout are correct. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +#include + +void test( void ) +{ + unsigned int seconds; + unsigned int result; + + seconds = 10; + + result = sleep( seconds ); +} diff --git a/testsuites/psxtests/psxhdrs/signal20.c b/testsuites/psxtests/psxhdrs/signal20.c new file mode 100644 index 0000000000..f0d83c86b3 --- /dev/null +++ b/testsuites/psxtests/psxhdrs/signal20.c @@ -0,0 +1,26 @@ +/* + * This test file is used to verify that the header files associated with + * the callout are correct. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +#include + +void test( void ) +{ + unsigned int seconds; + unsigned int result; + + seconds = 10; + + result = alarm( seconds ); +} diff --git a/testsuites/psxtests/psxhdrs/signal21.c b/testsuites/psxtests/psxhdrs/signal21.c new file mode 100644 index 0000000000..08d3cd6158 --- /dev/null +++ b/testsuites/psxtests/psxhdrs/signal21.c @@ -0,0 +1,23 @@ +/* + * This test file is used to verify that the header files associated with + * the callout are correct. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +#include + +void test( void ) +{ + int result; + + result = pause(); +} diff --git a/testsuites/psxtests/psxhdrs/signal22.c b/testsuites/psxtests/psxhdrs/signal22.c new file mode 100644 index 0000000000..fb6a399738 --- /dev/null +++ b/testsuites/psxtests/psxhdrs/signal22.c @@ -0,0 +1,26 @@ +/* + * This test file is used to verify that the header files associated with + * the callout are correct. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +#include + +void test( void ) +{ + unsigned int seconds; + unsigned int result; + + seconds = 10; + + result = sleep( seconds ); +} -- cgit v1.2.3