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/librechroot-test.sh | |
parent | dc87e08cdac2bd70d1d1f9412717fb226e8de387 (diff) |
test: set LC_ALL instead of LANG
Diffstat (limited to 'test/librechroot-test.sh')
-rw-r--r-- | test/librechroot-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/librechroot-test.sh b/test/librechroot-test.sh index 8efba67..5ca1b37 100644 --- a/test/librechroot-test.sh +++ b/test/librechroot-test.sh @@ -42,7 +42,7 @@ it_respects_exit_status_if_out_isnt_a_tty() ( it_displays_help_as_normal_user() { rm -rf "$XDG_CONFIG_HOME" - LANG=C librechroot help >$tmpdir/stdout 2>$tmpdir/stderr + LC_ALL=C librechroot help >$tmpdir/stdout 2>$tmpdir/stderr [[ "$(sed 1q $tmpdir/stdout)" =~ Usage:.* ]] empty $tmpdir/stderr @@ -57,7 +57,7 @@ it_otherwise_fails_as_normal_user() { } it_displays_help_and_fails_with_0_args() { - LANG=C librechroot >$tmpdir/stdout 2>$tmpdir/stderr || stat=$? + LC_ALL=C librechroot >$tmpdir/stdout 2>$tmpdir/stderr || stat=$? [[ $stat != 0 ]] empty $tmpdir/stdout |