From: Ralf Wildenhues Date: Sun, 13 Nov 2005 15:35:09 +0000 (+0000) Subject: * tests/quote.test: Do not fail on harmless shell bug present X-Git-Tag: release-1-5-22~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb3d73fed63661d25645921cdd34c7bbc9764002;p=thirdparty%2Flibtool.git * tests/quote.test: Do not fail on harmless shell bug present in some ksh88 versions. Reported by Tim Rice and others. --- diff --git a/ChangeLog b/ChangeLog index 530da7934..f5d882d47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-13 Ralf Wildenhues + + * tests/quote.test: Do not fail on harmless shell bug present + in some ksh88 versions. + Reported by Tim Rice and others. + 2005-11-13 Albert Chin-A-Young * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ hpux10 ]: diff --git a/tests/quote.test b/tests/quote.test index f7b747a50..1a63b00ef 100755 --- a/tests/quote.test +++ b/tests/quote.test @@ -114,10 +114,14 @@ for mode in compile link install; do $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" status=1