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:
parent
feadf100a2
commit
278b64283a
|
@ -80,6 +80,8 @@ then
|
||||||
test "`guix package -p "$profile" -I 'g.*e' | cut -f1`" = "guile-bootstrap"
|
test "`guix package -p "$profile" -I 'g.*e' | cut -f1`" = "guile-bootstrap"
|
||||||
|
|
||||||
# Search.
|
# Search.
|
||||||
|
LC_MESSAGES=C
|
||||||
|
export LC_MESSAGES
|
||||||
test "`guix package -s "An example GNU package" | grep ^name:`" = \
|
test "`guix package -s "An example GNU package" | grep ^name:`" = \
|
||||||
"name: hello"
|
"name: hello"
|
||||||
test -z "`guix package -s "n0t4r341p4ck4g3"`"
|
test -z "`guix package -s "n0t4r341p4ck4g3"`"
|
||||||
|
|
Loading…
Reference in New Issue