diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2002-10-12 03:37:46 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2002-10-12 03:37:46 +0000 |
commit | 333fae7f03c3e71d79ad015ef2a464669ed8d235 (patch) | |
tree | 47c922035c128f95b3d031a9285a1c62396753c8 | |
parent | e9f1823c2ace3b7f239bdad103e1c4d0d3395593 (diff) |
signal deliver to blocked thread test
-rw-r--r-- | regress/lib/libc_r/Makefile | 6 | ||||
-rw-r--r-- | regress/lib/libc_r/sigdeliver/Makefile | 5 | ||||
-rw-r--r-- | regress/lib/libc_r/siginfo/siginfo.c | 9 | ||||
-rw-r--r-- | regress/lib/libpthread/Makefile | 6 | ||||
-rw-r--r-- | regress/lib/libpthread/sigdeliver/Makefile | 5 | ||||
-rw-r--r-- | regress/lib/libpthread/siginfo/siginfo.c | 9 |
6 files changed, 26 insertions, 14 deletions
diff --git a/regress/lib/libc_r/Makefile b/regress/lib/libc_r/Makefile index 450ecbc657f..c4a82819bb8 100644 --- a/regress/lib/libc_r/Makefile +++ b/regress/lib/libc_r/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.11 2002/10/07 21:27:15 marc Exp $ +# $OpenBSD: Makefile,v 1.12 2002/10/12 03:37:45 marc Exp $ SUBDIR= cancel close cwd execve fork group netdb pcap poll \ preemption preemption_float pthread_cond_timedwait pthread_create \ pthread_join pthread_mutex pthread_specific readdir select \ - setjmp signal siginfo sigsuspend sigwait sleep socket stdarg stdio \ - switch system + setjmp signal sigdeliver siginfo sigsuspend sigwait sleep \ + socket stdarg stdio switch system # Not available or disabled: fcntl, pause, preemption_float and pw diff --git a/regress/lib/libc_r/sigdeliver/Makefile b/regress/lib/libc_r/sigdeliver/Makefile new file mode 100644 index 00000000000..f20b827cd8a --- /dev/null +++ b/regress/lib/libc_r/sigdeliver/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2002/10/12 03:37:45 marc Exp $ + +PROG= sigdeliver + +.include <bsd.regress.mk> diff --git a/regress/lib/libc_r/siginfo/siginfo.c b/regress/lib/libc_r/siginfo/siginfo.c index a280072a6c5..ab817a49d3b 100644 --- a/regress/lib/libc_r/siginfo/siginfo.c +++ b/regress/lib/libc_r/siginfo/siginfo.c @@ -1,10 +1,11 @@ -/* $OpenBSD: siginfo.c,v 1.4 2002/10/09 03:02:33 marc Exp $ */ +/* $OpenBSD: siginfo.c,v 1.5 2002/10/12 03:37:45 marc Exp $ */ /* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */ -/* test SA_SIGINFO support. Also check that SA_RESETHAND does the right - thing. */ +/* + * test SA_SIGINFO support. Also check that SA_RESETHAND does the right + * thing. + */ -#include <assert.h> #include <signal.h> #include <stdio.h> diff --git a/regress/lib/libpthread/Makefile b/regress/lib/libpthread/Makefile index 450ecbc657f..c4a82819bb8 100644 --- a/regress/lib/libpthread/Makefile +++ b/regress/lib/libpthread/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.11 2002/10/07 21:27:15 marc Exp $ +# $OpenBSD: Makefile,v 1.12 2002/10/12 03:37:45 marc Exp $ SUBDIR= cancel close cwd execve fork group netdb pcap poll \ preemption preemption_float pthread_cond_timedwait pthread_create \ pthread_join pthread_mutex pthread_specific readdir select \ - setjmp signal siginfo sigsuspend sigwait sleep socket stdarg stdio \ - switch system + setjmp signal sigdeliver siginfo sigsuspend sigwait sleep \ + socket stdarg stdio switch system # Not available or disabled: fcntl, pause, preemption_float and pw diff --git a/regress/lib/libpthread/sigdeliver/Makefile b/regress/lib/libpthread/sigdeliver/Makefile new file mode 100644 index 00000000000..f20b827cd8a --- /dev/null +++ b/regress/lib/libpthread/sigdeliver/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2002/10/12 03:37:45 marc Exp $ + +PROG= sigdeliver + +.include <bsd.regress.mk> diff --git a/regress/lib/libpthread/siginfo/siginfo.c b/regress/lib/libpthread/siginfo/siginfo.c index a280072a6c5..ab817a49d3b 100644 --- a/regress/lib/libpthread/siginfo/siginfo.c +++ b/regress/lib/libpthread/siginfo/siginfo.c @@ -1,10 +1,11 @@ -/* $OpenBSD: siginfo.c,v 1.4 2002/10/09 03:02:33 marc Exp $ */ +/* $OpenBSD: siginfo.c,v 1.5 2002/10/12 03:37:45 marc Exp $ */ /* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */ -/* test SA_SIGINFO support. Also check that SA_RESETHAND does the right - thing. */ +/* + * test SA_SIGINFO support. Also check that SA_RESETHAND does the right + * thing. + */ -#include <assert.h> #include <signal.h> #include <stdio.h> |