bugGNU libunistring - Bugs: bug #62820, Test failure on MacOS High Sierra

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #62820: Test failure on MacOS High Sierra

Submitter:  Lukas Oberhuber <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

Wed 27 Jul 2022 07:14:46 AM UTC, original submission:  

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;
```

Lukas Oberhuber <lukaso>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lukaso (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code