summaryrefslogtreecommitdiff
path: root/test/pkgbuild-check-nonfree-test.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-05 13:30:50 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-11 15:43:37 -0400
commit4f556e1b9896b77e7b0f74afddad5fd8c1892641 (patch)
tree0c513cdd29c0aca5f45828e901e70c198a5c61f7 /test/pkgbuild-check-nonfree-test.sh
parent8443cad920a59918069dbee3891b4b9595c528a3 (diff)
test: set LANG=C when parsing the output
Diffstat (limited to 'test/pkgbuild-check-nonfree-test.sh')
-rw-r--r--test/pkgbuild-check-nonfree-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pkgbuild-check-nonfree-test.sh b/test/pkgbuild-check-nonfree-test.sh
index dd03aab..d547e24 100644
--- a/test/pkgbuild-check-nonfree-test.sh
+++ b/test/pkgbuild-check-nonfree-test.sh
@@ -26,7 +26,7 @@ after() {
it_displays_usage_text() {
# This test seems silly, but it makes sure that it is executable,
# syntactically correct, and loading libraries works.
- $pcn -h >$tmpdir/stdout 2>$tmpdir/stderr
+ LANG=C $pcn -h >$tmpdir/stdout 2>$tmpdir/stderr
stat=$?
[[ "$(sed 1q $tmpdir/stdout)" =~ Usage:.* ]]