]> granicus.if.org Git - libevent/commit
test: avoid regress hanging in macOS
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Wed, 16 Aug 2017 23:52:33 +0000 (16:52 -0700)
committerAzat Khuzhin <a3at.mail@gmail.com>
Sun, 10 Sep 2017 22:48:35 +0000 (01:48 +0300)
commita86f89d333d870e6714bd28c695ba1774df3d7f5
tree0964fd1e581aede68cf91983a8ced5752395aebf
parent506df426dbeb0187bbd3654bd286b4100628fb16
test: avoid regress hanging in macOS

a backtrace of the process without this patch :
  * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    * frame #0: 0x00007fffb1fb7d96 libsystem_kernel.dylib`kevent + 10
      frame #1: 0x0000000108ed0a58 libevent-2.2.1.dylib`kq_dispatch + 696
      frame #2: 0x0000000108ec53d8 libevent-2.2.1.dylib`event_base_loop + 696
      frame #3: 0x0000000108e1763b regress`test_fork + 1931
      frame #4: 0x0000000108e5c7ad regress`run_legacy_test_fn + 45
      frame #5: 0x0000000108e690aa regress`testcase_run_one + 858
      frame #6: 0x0000000108e6954f regress`tinytest_main + 495
      frame #7: 0x0000000108e5c94b regress`main + 171
      frame #8: 0x00007fffb1e88235 libdyld.dylib`start + 1
      frame #9: 0x00007fffb1e88235 libdyld.dylib`start + 1

Issue: #546
test/regress.c