summaryrefslogtreecommitdiff
path: root/test/lib-blacklist-test.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-11-02 18:15:00 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-11-02 18:15:00 -0400
commit320ec256f0e6821509acc164c114795b0e087be3 (patch)
treedda6bffb57c95e543cfae5d77715bd306ebd2ed6 /test/lib-blacklist-test.sh
parentdc87e08cdac2bd70d1d1f9412717fb226e8de387 (diff)
test: set LC_ALL instead of LANG
Diffstat (limited to 'test/lib-blacklist-test.sh')
-rw-r--r--test/lib-blacklist-test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib-blacklist-test.sh b/test/lib-blacklist-test.sh
index be54b47..640ed77 100644
--- a/test/lib-blacklist-test.sh
+++ b/test/lib-blacklist-test.sh
@@ -110,7 +110,7 @@ it_downloads_the_blacklist_repeatedly() {
}
it_displays_help_and_fails_with_no_args() {
- LANG=C libreblacklist >$tmpdir/stdout 2>$tmpdir/stderr || stat=$?
+ LC_ALL=C libreblacklist >$tmpdir/stdout 2>$tmpdir/stderr || stat=$?
[[ $stat != 0 ]]
empty $tmpdir/stdout
@@ -118,14 +118,14 @@ it_displays_help_and_fails_with_no_args() {
}
it_displays_help_when_given_h() {
- LANG=C libreblacklist -h >$tmpdir/stdout 2>$tmpdir/stderr
+ LC_ALL=C libreblacklist -h >$tmpdir/stdout 2>$tmpdir/stderr
[[ "$(sed 1q $tmpdir/stdout)" =~ 'Usage: libreblacklist ' ]]
empty $tmpdir/stderr
}
it_displays_help_when_given_h_cat() {
- LANG=C libreblacklist -h cat >$tmpdir/stdout 2>$tmpdir/stderr
+ LC_ALL=C libreblacklist -h cat >$tmpdir/stdout 2>$tmpdir/stderr
[[ "$(sed 1q $tmpdir/stdout)" == 'Usage: libreblacklist cat' ]]
empty $tmpdir/stderr