From: Bruno Haible Date: Tue, 20 Sep 2011 23:03:23 +0000 (+0200) Subject: time tests: Don't require pid_t. X-Git-Tag: v0.1~1796 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=38a8eb97c80a2574b34ede71e6b06d2c481e9954;p=gnulib.git time tests: Don't require pid_t. * tests/test-time.c: Comment out the check for pid_t. --- diff --git a/ChangeLog b/ChangeLog index 053a661b8..a7de51ccc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-09-20 Bruno Haible + time tests: Don't require pid_t. + * tests/test-time.c: Comment out the check for pid_t. + +2011-09-20 Bruno Haible + fsync tests: Avoid a test failure on mingw. * tests/test-fsync.c (main): Allow a failure with EIO. diff --git a/tests/test-time.c b/tests/test-time.c index df4710d44..d499a5ca1 100644 --- a/tests/test-time.c +++ b/tests/test-time.c @@ -24,7 +24,11 @@ /* Check that the types are all defined. */ struct timespec t1; +#if 0 +/* POSIX:2008 does not require pid_t in unconditionally, and indeed + it's missing on MacOS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw. */ pid_t t2; +#endif /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */