未验证 提交 71177743 编写于 作者: O openharmony_ci 提交者: Gitee

!25 Fix llvm15 build error

Merge pull request !25 from enable_llvm15
......@@ -59,7 +59,7 @@ int main(void)
return PTS_UNRESOLVED;
}
if ((raise(SIGABRT) == -1) | (raise(SIGUSR2) == -1)) {
if ((raise(SIGABRT) == -1) || (raise(SIGUSR2) == -1)) {
perror("Unexpected error while attempting to setup test "
"pre-conditions");
return PTS_UNRESOLVED;
......@@ -76,7 +76,7 @@ int main(void)
}
if ((sigismember(&pending_set, SIGABRT) !=
1) | (sigismember(&pending_set, SIGUSR2) != 1)) {
1) || (sigismember(&pending_set, SIGUSR2) != 1)) {
perror("FAIL: sigismember did not return 1\n");
return PTS_UNRESOLVED;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册