[lxc-devel] [lxd/master] Tests: Don't translate lxc output for parsing it.

pcdummy on Github lxc-bot at linuxcontainers.org
Mon Mar 28 17:32:58 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 440 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160328/ecb10841/attachment.bin>
-------------- next part --------------
From 1a6aad335b74c3b1dd3c101f65478dfc2173d5b5 Mon Sep 17 00:00:00 2001
From: Rene Jochum <rene at jochums.at>
Date: Mon, 28 Mar 2016 19:31:28 +0200
Subject: [PATCH] Tests: Don't translate lxc output for parsing it.

Signed-off-by: Rene Jochum <rene at jochums.at>
---
 test/main.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/main.sh b/test/main.sh
index cbd8591..5b5f486 100755
--- a/test/main.sh
+++ b/test/main.sh
@@ -1,6 +1,9 @@
 #!/bin/sh -eu
 [ -n "${GOPATH:-}" ] && export "PATH=${GOPATH}/bin:${PATH}"
 
+# Don't translate lxc output for parsing in it in tests.
+export "LC_ALL=C"
+
 if [ -n "${LXD_DEBUG:-}" ]; then
   set -x
   DEBUG="--debug"


More information about the lxc-devel mailing list