From: Ralf Wildenhues Date: Sun, 13 Nov 2005 15:15:50 +0000 (+0000) Subject: * tests/quote.test: Do not fail on harmless shell bug present X-Git-Tag: release-2-1b~403 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0674ddfdd3e14797c17257e9e88257c309c00a1;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 1209eac2e..3383c741e 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-12 Ralf Wildenhues * libltdl/m4/ltoptions.m4 (_LT_SET_OPTION): Use m4_warning diff --git a/tests/quote.test b/tests/quote.test index dc7b2db57..e5dba739a 100755 --- a/tests/quote.test +++ b/tests/quote.test @@ -97,10 +97,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=$EXIT_FAILURE 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=$EXIT_FAILURE