bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] perror: fix test on mingw


From: Eric Blake
Subject: [PATCH] perror: fix test on mingw
Date: Wed, 8 Jun 2011 08:45:28 -0600

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

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

Signed-off-by: Eric Blake <address@hidden>
---

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  <address@hidden>

+       perror: fix test on mingw
+       * modules/perror-tests (Depends-on): Add dup2.
+
+2011-06-08  Eric Blake  <address@hidden>
+
        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

[Prev in Thread] Current Thread [Next in Thread]