diff options
-rwxr-xr-x | tests/sum/sysv | 6 |
1 files changed, 6 insertions, 0 deletions
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 |