tests: Use the C locale for 'guix package -s'.

* tests/guix-package.sh: Set LC_MESSAGES=C before the 'guix package -s'
  test.
This commit is contained in:
Ludovic Courtès 2014-06-15 10:32:21 +02:00
parent feadf100a2
commit 278b64283a

View File

@ -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"`"