diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-02 18:15:00 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-02 18:15:00 -0400 |
commit | 320ec256f0e6821509acc164c114795b0e087be3 (patch) | |
tree | dda6bffb57c95e543cfae5d77715bd306ebd2ed6 /test/librerelease-test.sh | |
parent | dc87e08cdac2bd70d1d1f9412717fb226e8de387 (diff) |
test: set LC_ALL instead of LANG
Diffstat (limited to 'test/librerelease-test.sh')
-rw-r--r-- | test/librerelease-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/librerelease-test.sh b/test/librerelease-test.sh index ebbd504..c395bc6 100644 --- a/test/librerelease-test.sh +++ b/test/librerelease-test.sh @@ -26,7 +26,7 @@ after() { it_displays_usage_text() { rm -rf "$XDG_CONFIG_HOME" - LANG=C librerelease -h >"$tmpdir/stdout" 2>"$tmpdir/stderr" + LC_ALL=C librerelease -h >"$tmpdir/stdout" 2>"$tmpdir/stderr" [[ "$(sed 1q "$tmpdir/stdout")" =~ Usage:.* ]] empty "$tmpdir/stderr" @@ -40,7 +40,7 @@ it_lists_all_files() { "$WORKDIR/staging/repo1/file2" \ "$WORKDIR/staging/repo2/file with spaces" unset WORKDIR - LANG=C librerelease -l &>"$tmpdir/list" + LC_ALL=C librerelease -l &>"$tmpdir/list" cat > "$tmpdir/list-correct" <<EOF -> repo1 |