[diffoscope] 02/02: force LC_ALL=C.UTF-8 in basic-command-list test, so that diffoscope can always output something

Mattia Rizzolo mattia at debian.org
Tue Sep 6 22:43:32 CEST 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository diffoscope.

commit 7e0cba0380f3941d2c8ff4c0c90cac81344c6df9
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Sep 6 20:41:32 2016 +0000

    force LC_ALL=C.UTF-8 in basic-command-list test, so that diffoscope can always output something
    
    I had an occasion when the test failed in a place because it thought the terminal
    didn't support UTF-8, so forcing that.
---
 debian/tests/basic-command-line | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/tests/basic-command-line b/debian/tests/basic-command-line
index 275a383..0bc1679 100755
--- a/debian/tests/basic-command-line
+++ b/debian/tests/basic-command-line
@@ -2,6 +2,9 @@
 
 # not set -e: we are testing exit codes
 
+# to have diffoscope able to output stuff in utf-8
+export LC_ALL=C.UTF-8
+
 if ! [ -d "$ADTTMP" ]; then
 	ADTTMP=`mktemp -d`
 	TEMP=true

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list