]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Avoid failure due to Cygwin path detection bug.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 19 Jan 2009 22:55:07 +0000 (23:55 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 19 Jan 2009 22:55:07 +0000 (23:55 +0100)
* tests/execute-mode.at (execute mode): Ignore noise on stderr;
Cygwin might consider `d\"e' to be a DOS-style path and warn.
Report by Charles Wilson.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/execute-mode.at

index 67e36a911ee1271721c818e25c0087429e3f18d2..06004aacc27c908323484278f652cfc1b52823d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Avoid failure due to Cygwin path detection bug.
+       * tests/execute-mode.at (execute mode): Ignore noise on stderr;
+       Cygwin might consider `d\"e' to be a DOS-style path and warn.
+       Report by Charles Wilson.
+
 2009-01-19  Robert Millan  <rmh@aybabtu.com>
 
        Support GNU/kOpenSolaris.
index a019e8e41e101aaa1bc59ef28c40ce2fa66b9298..fc38ece2e55a99fca6fe138e0107dc872b682e9e 100644 (file)
@@ -1,6 +1,6 @@
 # execute-mode.at -- libtool --mode=execute             -*- Autotest -*-
 #
-#   Copyright (C) 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2008
 #
 #   This file is part of GNU Libtool.
@@ -190,7 +190,7 @@ do
   if test -z "$arg1"; then
     arg1=$arg2; continue
   fi
-  AT_CHECK([$LIBTOOL --mode=execute ./foo abc "$arg1" "$arg2" xyz], [], [stdout])
+  AT_CHECK([$LIBTOOL --mode=execute ./foo abc "$arg1" "$arg2" xyz], [], [stdout], [ignore])
   AT_CHECK([$FGREP "$arg1" stdout], [], [ignore])
   AT_CHECK([$FGREP "$arg2" stdout], [], [ignore])
   AT_CHECK([test `sed -n '/^abc$/,/^xyz$/p' stdout | wc -l` -eq 4])