From 38894ae9a863695c554b39d532e33e94d6f80bf5 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 25 May 2011 00:41:57 +0000 Subject: [PATCH] Fixed check. sigset() is supposed to return the previous signal disposition, respectively SIG_HOLD, if the signal was blocked. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41727 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../posix/posixtestsuite/conformance/interfaces/sigset/6-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigset/6-1.c b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigset/6-1.c index c9d0b947e3..17ced2c2c7 100644 --- a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigset/6-1.c +++ b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigset/6-1.c @@ -42,7 +42,7 @@ int main() return PTS_UNRESOLVED; } - if (sigset(SIGCHLD,SIG_HOLD) != SIG_HOLD) { + if (sigset(SIGCHLD,SIG_HOLD) != myhandler) { perror("Unexpected error while using sigset()"); return PTS_UNRESOLVED; }