[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-libunistring] [bug #62820] Test failure on MacOS High Sierra
From: |
Lukas Oberhuber |
Subject: |
[bug-libunistring] [bug #62820] Test failure on MacOS High Sierra |
Date: |
Wed, 27 Jul 2022 03:14:47 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62820>
Summary: Test failure on MacOS High Sierra
Project: GNU libunistring
Submitter: lukaso
Submitted: Wed 27 Jul 2022 07:14:46 AM UTC
Category: Build
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 27 Jul 2022 07:14:46 AM UTC By: Lukas Oberhuber <lukaso>
When building in Homebrew on MacOS High Sierra (10.13), libunistring fails the
sigaction test. May also fail on earlier versions of MacOS.
This patch "fixes" the failure:
```
diff --git a/tests/test-sigaction.c b/tests/test-sigaction.c
index ab5924d..25b52fe 100644
--- a/tests/test-sigaction.c
+++ b/tests/test-sigaction.c
@@ -78,7 +78,7 @@ handler (int sig)
when this program is linked with -lpthread, due to the sigaction()
override in libpthread.so. */
#if !(defined __GLIBC__ || defined __UCLIBC__)
- ASSERT (sa.sa_handler == SIG_DFL);
+ /* ASSERT (sa.sa_handler == SIG_DFL); */
#endif
break;
default:
@@ -108,7 +108,7 @@ main (void)
ASSERT (sigaction (SIGABRT, &sa, &old_sa) == 0);
ASSERT ((old_sa.sa_flags & SA_SIGINFO) == 0);
#if !(defined __GLIBC__ || defined __UCLIBC__) /* see above */
- ASSERT (old_sa.sa_handler == SIG_DFL);
+ /* ASSERT (old_sa.sa_handler == SIG_DFL); */
#endif
sa.sa_handler = SIG_IGN;
```
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62820>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-libunistring] [bug #62820] Test failure on MacOS High Sierra,
Lukas Oberhuber <=