summaryrefslogtreecommitdiff
path: root/test/files/script
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-02-11 10:34:36 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-02-11 10:34:36 +0000
commit7f6e39f86e2b7ff636eb8f1f435f928351edbb6c (patch)
treeb919eb59fe26fe0ce12d6a45b62f0c5d77c4a39d /test/files/script
parent613ee6e29962b872f7677cce97a27673a0a61e95 (diff)
downloadscala-7f6e39f86e2b7ff636eb8f1f435f928351edbb6c.tar.gz
scala-7f6e39f86e2b7ff636eb8f1f435f928351edbb6c.tar.bz2
scala-7f6e39f86e2b7ff636eb8f1f435f928351edbb6c.zip
Fixed the test.
Turns out that it will fail if the LC_CTYPE or LANG environment variables do not specify a UTF8 encoding.
Diffstat (limited to 'test/files/script')
-rwxr-xr-xtest/files/script/utf8.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/script/utf8.scala b/test/files/script/utf8.scala
index a47828ad37..5366562cee 100755
--- a/test/files/script/utf8.scala
+++ b/test/files/script/utf8.scala
@@ -18,6 +18,7 @@ then
SOURCE=`cygpath --$format "$SOURCE"`;
fi
+export LC_CTYPE=en_US.UTF-8
exec scala -nocompdaemon "$SOURCE" "$@"
!#