11 Apr
2012
11 Apr
'12
6:05 p.m.
On Tue, Apr 10, 2012 at 21:13, Bruno Jesus <00cpxxx(a)gmail.com> wrote:
* Added a final required test for the h->h_addr_list[0] to show we must put it in the right place. * Removed the cached use of older gethostbyname result since the memory is static and turned into garbage in windows if the current call fails. * Added a skip if we hit older OS allowing we to avoid using broken() on each test.
+ if(h->h_addr_list == addr.mem) /* <= W2K */ + { + skip("Skipping hostent tests since this OS is unsupported\n"); + return; + } + You should use win_skip so that the tests will only be skipped on windows (we'd want the failure to be exposed on wine). -- -Austin