From d38c17cdbc971452df13c76fed70c1d76ecfe352 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 19 Nov 2002 14:07:20 +0000 Subject: Export LC_ALL=C, to avoid failure when run in a UTF locale. Report and suggested fix by Bruno Haible. --- tests/sum/sysv | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/sum/sysv b/tests/sum/sysv index cab25b153..39697bb73 100755 --- a/tests/sum/sysv +++ b/tests/sum/sysv @@ -13,6 +13,12 @@ case "$PERL" in ;; esac +# Avoid a problem when run in a UTF-8 locale. +# Otherwise, Perl would try to (and fail to) interpret +# each string below as a sequence of multi-byte characters. +LC_ALL=C +export LC_ALL + pwd=`pwd` tmp=sum-s.$$ trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0 -- cgit v1.2.3-54-g00ecf