Hi Tim,
* Tim Rice wrote on Sun, Nov 13, 2005 at 12:23:54AM CET:
> On Sat, 12 Nov 2005, Ralf Wildenhues wrote:
> >
> > Does the test pass even with ksh88, after this patch is applied
> > (CVS HEAD)?
>
> Tests pass on both ksh and ksh88.
> Good work.
Thanks for confirmation. Applied to HEAD and branch-1-5, the latter
shown below.
Cheers,
Ralf
* tests/quote.test: Do not fail on harmless shell bug present
in some ksh88 versions.
Reported by Tim Rice <[EMAIL PROTECTED]> and others.
Index: tests/quote.test
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/quote.test,v
retrieving revision 1.6.2.2
diff -u -r1.6.2.2 quote.test
--- tests/quote.test 3 Feb 2005 10:03:51 -0000 1.6.2.2
+++ tests/quote.test 13 Nov 2005 15:13:28 -0000
@@ -114,9 +114,13 @@
$echo "= trying: \\$mchar quoting"
result=`$libtool -n --mode=$mode $preargs
${preflag}"${flag}${mchar}test${mchar}" $postargs` || status=1
match="${match_preflag}${flag}\\${mchar}test\\${mchar} "
+ alt_match="${match_preflag}\"${flag}\\${mchar}test\\${mchar}\" "
case "$result" in
*"$match"*)
$echo "= passed: $result"
+ ;;
+ *"$alt_match"*)
+ $echo "= passed (harmless ksh bug): $result"
;;
*)
$echo "= failed: $result"