the setting/exporting of LANG, LC_ALL, and LANGUAGE.
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
# This cp command should exit nonzero.
cp --b=simple a~ a > out 2>&1 && fail=1
cp --version
fi
-LANGUAGE=C; export LANGUAGE
-LANG=C; export LANG
-
# Ensure that ls sorts the same way for everyone.
-LC_ALL=C; export LC_ALL
+. $srcdir/../lang-default
. $srcdir/../envvar-check
cp --version
fi
-LANGUAGE=C; export LANGUAGE
-LANG=C; export LANG
+. $srcdir/../lang-default
VERSION_CONTROL=numbered; export VERSION_CONTROL
. $srcdir/../envvar-check
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
pwd=`pwd`
tmp=sl2sl-$$
cp --version
fi
+. $srcdir/../lang-default
+
tmp=t-cpsymsl.$$
framework_failure=0
fail=0
cp -dR symlink/ s || fail=1
-set `LANGUAGE=C LC_ALL=C ls -l s`
+set `ls -l s`
# Prior to fileutils-4.0q, the following would have output ...`s -> dir'
# because the trailing slash was removed unconditionally (now you have to
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
fail=0
ln -sf a b > err 2>&1 && fail=1
exit 1
fi
-LANGUAGE=C; export LANGUAGE
-LANG=C; export LANG
+. $srcdir/../lang-default
fail=0
set `ls -l symlink/`
# 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`
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
# This mv command should exit nonzero.
mv --b=simple $a2 $a > out 2>&1 && fail=1
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
# These mv commands should all exit nonzero.
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
# This mv command should exit nonzero.
mv $ff $ff > out 2>&1 && fail=1
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
mv $dir $other_partition_tmpdir || fail=1
. $srcdir/../envvar-check
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
pwd=`pwd`
tmp=cp-mv-if-$$
fail=0
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
# This mv command should fail.
mv $dir $file $dir > out 2>&1 && fail=1
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
# This mv command should exit nonzero.
mv $symlink $file > out 2>&1 && fail=1
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
# This mv command should exit nonzero.
mv $dir1 $dir2 $dir2 > out 2>&1 && fail=1
#! /bin/sh
. $srcdir/setup
+# Make sure we get English translations.
+. $srcdir/../lang-default
if test -z "$other_partition_tmpdir"; then
exit 77
exit 77
fi
-# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
-
fail=0
mv --verbose $null $dir $other_partition_tmpdir > out || fail=1
# Make sure the files are gone.
. $srcdir/setup
. $srcdir/../envvar-check
-
# Make sure the programs use C-locale formats/translations.
-LANGUAGE=C; export LANGUAGE
-LC_ALL=C; export LC_ALL
-LANG=C; export LANG
+. $srcdir/../lang-default
if test -z "$other_partition_tmpdir"; then
(exit 77); exit
. $srcdir/setup
. $srcdir/../envvar-check
+. $srcdir/../lang-default
if test -z "$other_partition_tmpdir"; then
exit 77
fi
-LANGUAGE=C; export LANGUAGE
-LANG=C; export LANG
+=''; export LANGUAGE
+=''; export LANG
pwd=`pwd`
dir=p-perm-$$
> t/a/f || framework_failure=1
> t/a/b/g || framework_failure=1
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
+. $srcdir/../lang-default
# FIXME: if this fails, it's a framework failure
cat <<EOF | sort > t/E || framework_failure=1