test-perror2 was tripping up on a known mingw dup2 pitfall.

* modules/perror-tests (Depends-on): Add dup2.

Signed-off-by: Eric Blake <[email protected]>
---

With this, mingw passes perror, strerror, and strerror_r
unit tests, but still fails test-lock (see separate mail).

 ChangeLog            |    5 +++++
 modules/perror-tests |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6cd8757..0e6373a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-06-08  Eric Blake  <[email protected]>

+       perror: fix test on mingw
+       * modules/perror-tests (Depends-on): Add dup2.
+
+2011-06-08  Eric Blake  <[email protected]>
+
        strerror_r-posix: fix on MacOS
        * m4/strerror.m4 (gl_FUNC_STRERROR): Flush out MacOS bug.
        * m4/strerror_r.m4 (gl_FUNC_STRERROR_R_WORKS): Likewise, and fix
diff --git a/modules/perror-tests b/modules/perror-tests
index 3770d77..04adee2 100644
--- a/modules/perror-tests
+++ b/modules/perror-tests
@@ -7,6 +7,7 @@ tests/test-perror2.c
 tests/test-perror.sh

 Depends-on:
+dup2
 strerror

 configure.ac:
-- 
1.7.4.4


Reply via email to