From 93c10561abfa172de05de4d3cf4f6523c690b76c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 11 Mar 2002 12:34:13 +0000 Subject: [PATCH] Skip the test on Tcl version 8.0.x or older. --- tests/msgunfmt-3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- 2.47.2