From: Bruno Haible Date: Mon, 11 Mar 2002 12:34:13 +0000 (+0000) Subject: Skip the test on Tcl version 8.0.x or older. X-Git-Tag: v0.11.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93c10561abfa172de05de4d3cf4f6523c690b76c;p=thirdparty%2Fgettext.git Skip the test on Tcl version 8.0.x or older. --- diff --git a/tests/msgunfmt-3 b/tests/msgunfmt-3 index 18aa83af1..ee3c391f7 100755 --- a/tests/msgunfmt-3 +++ b/tests/msgunfmt-3 @@ -5,9 +5,11 @@ tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 -# Test whether we can execute Tcl programs. +# Test whether we can execute Tcl programs and Tcl's fconfigure command +# understands the -encoding option (it does since approximately Tcl 8.1). tmpfiles="$tmpfiles version.tcl" cat <<\EOF > version.tcl +fconfigure stdout -encoding utf-8 puts $tcl_version EOF (tclsh version.tcl) >/dev/null 2>/dev/null \