summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-01-09 19:03:34 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-01-09 19:03:34 (GMT)
commitc71e44408e9b40395f6a6be8e73df1cf530da7f9 (patch)
tree39ccfb48724de505bd3e08703f0d9ba72d7cef30
parentd55b7e9abbd01beb0d95f7b4e4b4db30d2c0611a (diff)
downloadtcl-c71e44408e9b40395f6a6be8e73df1cf530da7f9.zip
tcl-c71e44408e9b40395f6a6be8e73df1cf530da7f9.tar.gz
tcl-c71e44408e9b40395f6a6be8e73df1cf530da7f9.tar.bz2
More changes for test portability. Using euro symbol.
-rw-r--r--tests/main.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/main.test b/tests/main.test
index 3916e53..18d3ea3 100644
--- a/tests/main.test
+++ b/tests/main.test
@@ -1,6 +1,6 @@
# This file contains a collection of tests for generic/tclMain.c.
#
-# RCS: @(#) $Id: main.test,v 1.2 2002/01/09 17:50:56 dgp Exp $
+# RCS: @(#) $Id: main.test,v 1.3 2002/01/09 19:03:34 dgp Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest v2 needed."
@@ -87,14 +87,14 @@ namespace eval ::tcl::main::test {
Note the shortcoming explained in Tcl Patch 491789
} -constraints [list exec] -setup {
makeFile {puts [list $argv0 $argv $tcl_interactive]} script
- set f [open "|[interpreter] script \u1234" r]
+ set f [open "|[interpreter] script \u20ac" r]
} -body {
read $f
} -cleanup {
close $f
removeFile script
} -result [list script [list [encoding convertfrom [encoding system] \
- [encoding convertto [encoding system] \u1234]]] 0]\n
+ [encoding convertto [encoding system] \u20ac]]] 0]\n
test Tcl_Main-1.5 {
Tcl_Main: encoding of script name: system encoding loss
@@ -114,15 +114,15 @@ namespace eval ::tcl::main::test {
Tcl_Main: encoding of script name: system encoding loss
Note the shortcoming explained in Tcl Patch 491789
} -constraints [list exec] -setup {
- makeFile {puts [list $argv0 $argv $tcl_interactive]} \u1234
- set f [open "|[interpreter] \u1234" r]
+ makeFile {puts [list $argv0 $argv $tcl_interactive]} \u20ac
+ set f [open "|[interpreter] \u20ac" r]
} -body {
read $f
} -cleanup {
close $f
- removeFile \u1234
+ removeFile \u20ac
} -result [list [list [encoding convertfrom [encoding system] \
- [encoding convertto [encoding system] \u1234]]] {} 0]\n
+ [encoding convertto [encoding system] \u20ac]]] {} 0]\n
# Tests Tcl_Main-2.*: application-initialization procedure