Ignore:
Timestamp:
Jan 13, 2010 1:09:45 PM (14 years ago)
Author:
bennylp
Message:

Initial OpenBSD fixes (#994):
pjlib:

  • Autoconf fixes in detecting header availability
  • Undefined sched_get_priority_max() and sched_get_priority_min()
    • protect with #ifdef _POSIX_PRIORITY_SCHEDULING, and
    • return hardcoded (0, 31) if OpenBSD macro is declared
  • Better GUID generation

pjlib-test:

  • Reduce the loop in PJILB activesock test
  • Fixed bug in ioqueue unregistration test which caused assertion error in destroying mutex

pjlib-util-test:

  • Fixed bug in pjlib-util resolver test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util-test/resolver_test.c

    r2407 r3057  
    814814     * in STATE_ACTIVE state 
    815815     */ 
    816     pj_assert(g_server[0].pkt_count == 1); 
    817     pj_assert(g_server[1].pkt_count == 0); 
     816    pj_assert((g_server[0].pkt_count == 1 && g_server[1].pkt_count == 0) || 
     817              (g_server[1].pkt_count == 1 && g_server[0].pkt_count == 0)); 
    818818 
    819819    /* Wait to allow probing period to complete */ 
Note: See TracChangeset for help on using the changeset viewer.