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 <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2009-01-19 23:55:07 +01:00
parent 356234e0e7
commit 72cefc2f63
2 changed files with 9 additions and 2 deletions

View File

@ -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.

View 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])