From 28c6609c86191b9c913cd124437cad1dac4fd5e7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 22 Oct 2000 13:09:28 +0000 Subject: Source lang-default rather than open-coding the setting/exporting of LANG, LC_ALL, and LANGUAGE. --- tests/ls/symlink-slash | 3 +-- tests/ls/time-1 | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/ls') diff --git a/tests/ls/symlink-slash b/tests/ls/symlink-slash index ae12b091b..e365f85c7 100755 --- a/tests/ls/symlink-slash +++ b/tests/ls/symlink-slash @@ -20,8 +20,7 @@ if test $framework_failure = 1; then exit 1 fi -LANGUAGE=C; export LANGUAGE -LANG=C; export LANG +. $srcdir/../lang-default fail=0 set `ls -l symlink/` diff --git a/tests/ls/time-1 b/tests/ls/time-1 index c81fcaecf..ba251d714 100755 --- a/tests/ls/time-1 +++ b/tests/ls/time-1 @@ -46,8 +46,7 @@ ln c d || framework_failure=1 # Date output in ls -l is locale-sensitive, so this test fails if the # current locale produces a date that doesn't match the embedded value # here (Jan 15 23:00:00 1998), which is in the C (POSIX) locale. -LC_ALL=C -export LC_ALL +. $srcdir/../lang-default # Before we go any further, verify that touch's -m option works. set -- `ls --full -l a` -- cgit v1.2.3-70-g09d2