From: Ralf Wildenhues Date: Mon, 19 Jan 2009 22:55:07 +0000 (+0100) Subject: Avoid failure due to Cygwin path detection bug. X-Git-Tag: v2.2.7b~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72cefc2f632b17940307fb841a25f2c4b5ff17bc;p=thirdparty%2Flibtool.git 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. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 67e36a911..06004aacc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-19 Ralf Wildenhues + + 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 Support GNU/kOpenSolaris. diff --git a/tests/execute-mode.at b/tests/execute-mode.at index a019e8e41..fc38ece2e 100644 --- a/tests/execute-mode.at +++ b/tests/execute-mode.at @@ -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])