You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2020/02/19 17:27:28 UTC
[trafficserver] branch master updated: Set default encoding UTF-8
for AuTest on Linux
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new a96d0b2 Set default encoding UTF-8 for AuTest on Linux
a96d0b2 is described below
commit a96d0b26bd71e0c04fb524f6dc96724fdf8673ba
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Tue Feb 4 10:49:02 2020 +0900
Set default encoding UTF-8 for AuTest on Linux
---
ci/jenkins/bin/autest.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/ci/jenkins/bin/autest.sh b/ci/jenkins/bin/autest.sh
index 45a99ba..5efac22 100755
--- a/ci/jenkins/bin/autest.sh
+++ b/ci/jenkins/bin/autest.sh
@@ -18,6 +18,17 @@
set +x
+# Set default encoding UTF-8 for AuTest
+export LC_ALL=en_US.UTF-8
+export LANG=en_US.UTF-8
+echo "LC_ALL: $LC_ALL"
+echo "LANG: $LANG"
+
+# Check python version & encoding
+python3 --version
+echo "python default encoding: "
+python3 -c "import sys; print(sys.getdefaultencoding())"
+
INSTALL="${ATS_BUILD_BASEDIR}/install"
URL="https://ci.trafficserver.apache.org/autest"
JOB_ID=${ghprbPullId:-${ATS_BRANCH:-master}}