]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Skip the test on Tcl version 8.0.x or older.
authorBruno Haible <bruno@clisp.org>
Mon, 11 Mar 2002 12:34:13 +0000 (12:34 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:07:49 +0000 (12:07 +0200)
tests/msgunfmt-3

index 18aa83af12af5b7f8f39c3bd0384558a34214422..ee3c391f7dbc2cbf7cdb74462b86ab36166a3588 100755 (executable)
@@ -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 \