summaryrefslogtreecommitdiff
path: root/tests/ln/sf-1
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-12-14 21:51:44 +0000
committerJim Meyering <jim@meyering.net>1997-12-14 21:51:44 +0000
commitce939d6f4487da903d3d68a594cfc0d46e2c0cea (patch)
tree9e41d79d0fc2c2219fc9f5fd039e46aaba7d9e2e /tests/ln/sf-1
parentf126c8d3a115bb3788faa3b123ba30ef8fcf9f4f (diff)
downloadcoreutils-ce939d6f4487da903d3d68a594cfc0d46e2c0cea.tar.xz
Make sure we get diagnostics in English.
Diffstat (limited to 'tests/ln/sf-1')
-rwxr-xr-xtests/ln/sf-18
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ln/sf-1 b/tests/ln/sf-1
index 1296227f2..1ceaee20a 100755
--- a/tests/ln/sf-1
+++ b/tests/ln/sf-1
@@ -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') ;;