diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-05 13:30:50 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-11 15:43:37 -0400 |
commit | 4f556e1b9896b77e7b0f74afddad5fd8c1892641 (patch) | |
tree | 0c513cdd29c0aca5f45828e901e70c198a5c61f7 /test/libremakepkg-test.sh | |
parent | 8443cad920a59918069dbee3891b4b9595c528a3 (diff) |
test: set LANG=C when parsing the output
Diffstat (limited to 'test/libremakepkg-test.sh')
-rw-r--r-- | test/libremakepkg-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libremakepkg-test.sh b/test/libremakepkg-test.sh index 90cca0b..ab398bc 100644 --- a/test/libremakepkg-test.sh +++ b/test/libremakepkg-test.sh @@ -44,7 +44,7 @@ it_handles_PKGDEST_not_existing() { it_displays_help_as_normal_user() { rm -rf "$XDG_CONFIG_HOME" - libremakepkg -h >$tmpdir/stdout 2>$tmpdir/stderr + LANG=C libremakepkg -h >$tmpdir/stdout 2>$tmpdir/stderr [[ "$(sed 1q $tmpdir/stdout)" =~ Usage:.* ]] [[ -z "$(cat $tmpdir/stderr)" ]] |