[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: ksh88 quote.test fix (was: branch-1-5 UnixWare fixes)
From: |
Ralf Wildenhues |
Subject: |
FYI: ksh88 quote.test fix (was: branch-1-5 UnixWare fixes) |
Date: |
Sun, 13 Nov 2005 16:15:46 +0100 |
User-agent: |
Mutt/1.5.9i |
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 <address@hidden> 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"