Thanks!

Seems like os_shims.h and the testing/shims directory (with content) was missing a "svn add" before commit? :-)

Joakim

This email was sent from my iPhone, so it may be unusually terse. 

On 23 dec 2010, at 22:31, "Jordan K. Hubbard" <jkh@apple.com> wrote:

Committed as revision 195.  Thanks!

On Dec 23, 2010, at 3:45 AM, Joakim Johansson wrote:

Please consider the attached patches for portability of the test suite.

Attached are the shims and small patches required to get the portable parts of the test suite to run properly, it also includes a fix for spurious failures of dispatch_priority/dispatch_priority2 due to a wraparound bug, which should affect test stability on other platforms as well.

The compatibility wrappers were largely based of existing code from opensource.apple.com as referenced in the source files.

In bash with the patches unpacked alongside the trunk: