mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-27 12:04:25 +08:00
Make sure we get diagnostics in English.
This commit is contained in:
parent
f126c8d3a1
commit
ce939d6f44
@ -28,6 +28,14 @@ if test $test_failure = 1; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Make sure we get English translations.
|
||||
LANGUAGE=C
|
||||
export LANGUAGE
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
LANG=C
|
||||
export LANG
|
||||
|
||||
$LN -sf a b > err 2>&1 && fail=1
|
||||
case `cat err` in
|
||||
*'are the same file') ;;
|
||||
|
Loading…
Reference in New Issue
Block a user