diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2002-10-27 21:49:46 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2002-10-27 21:49:46 +0000 |
commit | 453ade492b8e06c619009d6cd52a85cb04e8cf17 (patch) | |
tree | b31f2190caf3751a4a8f135e6d0b3e8923cb7318 /regress/lib/libpthread | |
parent | c2261b8647713e59b5d4811018321b0640686e1e (diff) |
remove MD bits from test.
This test fails on sparc64 due to that arch not reporting
the address correctly -- not a pthreads issue
Diffstat (limited to 'regress/lib/libpthread')
-rw-r--r-- | regress/lib/libpthread/siginfo/siginfo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/lib/libpthread/siginfo/siginfo.c b/regress/lib/libpthread/siginfo/siginfo.c index 36a222c7e6e..03429b28c9b 100644 --- a/regress/lib/libpthread/siginfo/siginfo.c +++ b/regress/lib/libpthread/siginfo/siginfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siginfo.c,v 1.7 2002/10/23 22:30:04 marc Exp $ */ +/* $OpenBSD: siginfo.c,v 1.8 2002/10/27 21:49:45 marc Exp $ */ /* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */ /* @@ -27,8 +27,9 @@ act_handler(int signal, siginfo_t *siginfo, void *context) "addr %p, code %d, trap %d\n", signal, siginfo, context, siginfo->si_addr, siginfo->si_code, siginfo->si_trapno); write(STDOUT_FILENO, str, strlen(str)); - ASSERT(siginfo->si_addr == BOGUS && - siginfo->si_code == 1 && siginfo->si_trapno == 2); + ASSERT(siginfo->si_addr == BOGUS); + ASSERT(siginfo->si_code != SI_USER); + ASSERT(siginfo->si_code > 0 && siginfo->si_code <= NSIGSEGV); SUCCEED; } |