From 72cefc2f632b17940307fb841a25f2c4b5ff17bc Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 19 Jan 2009 23:55:07 +0100 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ tests/execute-mode.at | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 67e36a91..06004aac 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 a019e8e4..fc38ece2 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])