On Tue, Apr 10, 2012 at 21:13, Bruno Jesus 00cpxxx@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).