aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-15 10:32:21 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-16 23:49:05 +0200
commit278b64283ad78e5276499bc3ed93e8f6bdd7ff4f (patch)
tree183bb1b0c8ac47354dcc35e1d568315858a0f7a2 /tests
parentfeadf100a26acca6fa6a1db91a84d777ecbf9dae (diff)
downloadpatches-278b64283ad78e5276499bc3ed93e8f6bdd7ff4f.tar
patches-278b64283ad78e5276499bc3ed93e8f6bdd7ff4f.tar.gz
tests: Use the C locale for 'guix package -s'.
* tests/guix-package.sh: Set LC_MESSAGES=C before the 'guix package -s' test.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-package.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index 3fd65a2e1a..de545801de 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -80,6 +80,8 @@ then
test "`guix package -p "$profile" -I 'g.*e' | cut -f1`" = "guile-bootstrap"
# Search.
+ LC_MESSAGES=C
+ export LC_MESSAGES
test "`guix package -s "An example GNU package" | grep ^name:`" = \
"name: hello"
test -z "`guix package -s "n0t4r341p4ck4g3"`"