diff --git a/testing/ostest/sigprocmask.c b/testing/ostest/sigprocmask.c index 9e12c9077..b8b081291 100644 --- a/testing/ostest/sigprocmask.c +++ b/testing/ostest/sigprocmask.c @@ -44,11 +44,11 @@ static int g_some_signals[NSIGNALS] = { - 1, - 3, - 5, - 7, - 9 + SIGHUP, + SIGQUIT, + SIGTRAP, + SIGBUS, + SIGUSR1 }; /**************************************************************************** @@ -223,6 +223,24 @@ void sigprocmask_test(void) goto errout_with_mask; } + ret = sigdelset(&currmask, SIGKILL); + if (ret != OK) + { + int errcode = errno; + printf("sigprocmask_test: ERROR sigprocmask failed: %d\n", errcode); + ASSERT(false); + goto errout_with_mask; + } + + ret = sigdelset(&currmask, SIGSTOP); + if (ret != OK) + { + int errcode = errno; + printf("sigprocmask_test: ERROR sigprocmask failed: %d\n", errcode); + ASSERT(false); + goto errout_with_mask; + } + /* It should be the same as newmask */ if (memcmp(&currmask, &newmask, sizeof(sigset_t)) != 0)