tests: hoist the sourcing of "lang-default"
authorJim Meyering <meyering@redhat.com>
Fri, 2 May 2008 21:44:59 +0000 (23:44 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 6 May 2008 06:21:29 +0000 (08:21 +0200)
* tests/check.mk (TESTS_ENVIRONMENT): Source lang-default here, ...
... rather than in each of 100+ test scripts.
* tests/chgrp/basic:
* tests/chgrp/no-x:
* tests/chmod/c-option:
* tests/chmod/no-x:
* tests/chmod/setgid:
* tests/chmod/thru-dangling:
* tests/chmod/umask-x:
* tests/chmod/usage:
* tests/chown/basic:
* tests/chown/deref:
* tests/chown/preserve-root:
* tests/cp/abuse:
* tests/cp/acl:
* tests/cp/backup-is-src:
* tests/cp/cp-a-selinux:
* tests/cp/cp-i:
* tests/cp/cp-mv-backup:
* tests/cp/deref-slink:
* tests/cp/fail-perm:
* tests/cp/into-self:
* tests/cp/link-preserve:
* tests/cp/preserve-gid:
* tests/cp/same-file:
* tests/cp/slink-2-slink:
* tests/cp/special-f:
* tests/cp/symlink-slash:
* tests/cp/thru-dangling:
* tests/du/basic:
* tests/du/hard-link:
* tests/du/inacc-dest:
* tests/du/long-sloop:
* tests/du/no-x:
* tests/install/basic-1:
* tests/ln/hard-backup:
* tests/ln/sf-1:
* tests/ls/file-type:
* tests/ls/infloop:
* tests/ls/nameless-uid:
* tests/ls/rt-1:
* tests/ls/stat-failed:
* tests/ls/symlink-slash:
* tests/ls/x-option:
* tests/misc/chcon:
* tests/misc/chcon-fail:
* tests/misc/csplit:
* tests/misc/df-P:
* tests/misc/groups-dash:
* tests/misc/groups-version:
* tests/misc/nohup:
* tests/misc/printf-surprise:
* tests/misc/runcon-no-reorder:
* tests/misc/selinux:
* tests/misc/split-a:
* tests/misc/split-fail:
* tests/misc/tac-continue:
* tests/misc/wc-files0:
* tests/mkdir/p-v:
* tests/mkdir/selinux:
* tests/mv/acl:
* tests/mv/backup-dir:
* tests/mv/backup-is-src:
* tests/mv/childproof:
* tests/mv/diag:
* tests/mv/dir2dir:
* tests/mv/dup-source:
* tests/mv/force:
* tests/mv/hard-link-1:
* tests/mv/hard-verbose:
* tests/mv/i-2:
* tests/mv/i-3:
* tests/mv/i-4:
* tests/mv/i-5:
* tests/mv/i-link-no:
* tests/mv/into-self:
* tests/mv/into-self-2:
* tests/mv/into-self-3:
* tests/mv/mv-special-1:
* tests/mv/part-fail:
* tests/mv/part-symlink:
* tests/mv/partition-perm:
* tests/mv/perm-1:
* tests/mv/reply-no:
* tests/mv/sticky-to-xpart:
* tests/mv/update:
* tests/rm/cycle:
* tests/rm/dir-no-w:
* tests/rm/dir-nonrecur:
* tests/rm/fail-2eperm:
* tests/rm/fail-eacces:
* tests/rm/inaccessible:
* tests/rm/interactive-always:
* tests/rm/interactive-once:
* tests/rm/isatty:
* tests/rm/one-file-system:
* tests/rm/r-1:
* tests/rm/r-2:
* tests/rm/rm1:
* tests/rm/rm2:
* tests/rm/rm3:
* tests/rm/rm4:
* tests/rm/rm5:
* tests/rm/unread2:
* tests/rm/v-slash:
* tests/touch/fail-diag:
* tests/touch/not-owner:

106 files changed:
tests/check.mk
tests/chgrp/basic
tests/chgrp/no-x
tests/chmod/c-option
tests/chmod/no-x
tests/chmod/setgid
tests/chmod/thru-dangling
tests/chmod/umask-x
tests/chmod/usage
tests/chown/basic
tests/chown/deref
tests/chown/preserve-root
tests/cp/abuse
tests/cp/acl
tests/cp/backup-is-src
tests/cp/cp-a-selinux
tests/cp/cp-i
tests/cp/cp-mv-backup
tests/cp/deref-slink
tests/cp/fail-perm
tests/cp/into-self
tests/cp/link-preserve
tests/cp/preserve-gid
tests/cp/same-file
tests/cp/slink-2-slink
tests/cp/special-f
tests/cp/symlink-slash
tests/cp/thru-dangling
tests/du/basic
tests/du/hard-link
tests/du/inacc-dest
tests/du/long-sloop
tests/du/no-x
tests/install/basic-1
tests/ln/hard-backup
tests/ln/sf-1
tests/ls/file-type
tests/ls/infloop
tests/ls/nameless-uid
tests/ls/rt-1
tests/ls/stat-failed
tests/ls/symlink-slash
tests/ls/x-option
tests/misc/chcon
tests/misc/chcon-fail
tests/misc/csplit
tests/misc/df-P
tests/misc/groups-dash
tests/misc/groups-version
tests/misc/nohup
tests/misc/printf-surprise
tests/misc/runcon-no-reorder
tests/misc/selinux
tests/misc/split-a
tests/misc/split-fail
tests/misc/tac-continue
tests/misc/wc-files0
tests/mkdir/p-v
tests/mkdir/selinux
tests/mv/acl
tests/mv/backup-dir
tests/mv/backup-is-src
tests/mv/childproof
tests/mv/diag
tests/mv/dir2dir
tests/mv/dup-source
tests/mv/force
tests/mv/hard-link-1
tests/mv/hard-verbose
tests/mv/i-2
tests/mv/i-3
tests/mv/i-4
tests/mv/i-5
tests/mv/i-link-no
tests/mv/into-self
tests/mv/into-self-2
tests/mv/into-self-3
tests/mv/mv-special-1
tests/mv/part-fail
tests/mv/part-symlink
tests/mv/partition-perm
tests/mv/perm-1
tests/mv/reply-no
tests/mv/sticky-to-xpart
tests/mv/update
tests/rm/cycle
tests/rm/dir-no-w
tests/rm/dir-nonrecur
tests/rm/fail-2eperm
tests/rm/fail-eacces
tests/rm/inaccessible
tests/rm/interactive-always
tests/rm/interactive-once
tests/rm/isatty
tests/rm/one-file-system
tests/rm/r-1
tests/rm/r-2
tests/rm/rm1
tests/rm/rm2
tests/rm/rm3
tests/rm/rm4
tests/rm/rm5
tests/rm/unread2
tests/rm/v-slash
tests/touch/fail-diag
tests/touch/not-owner

index 21a8273..bbf22ed 100644 (file)
@@ -43,10 +43,12 @@ check: vc_exe_in_TESTS
 built_programs = \
   (cd $(top_builddir)/src && MAKEFLAGS= $(MAKE) -s built_programs.list)
 
-# Note that the first line is a statement.  It ensures that environment
-# variables that can perturb tests are unset.  The rest are envvar settings
-# that propagate build-related Makefile variables to test scripts.
+# Note that the first lines are statements.  They ensures that environment
+# variables that can perturb tests are unset or set to expected values.
+# The rest are envvar settings that propagate build-related Makefile
+# variables to test scripts.
 TESTS_ENVIRONMENT =                            \
+  . $(top_srcdir)/tests/lang-default;          \
   . $(top_srcdir)/tests/envvar-check;          \
   LOCALE_FR='$(LOCALE_FR)'                     \
   abs_top_builddir='$(abs_top_builddir)'       \
index b242a2a..c21aec0 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/group-names
 . $top_srcdir/tests/test-lib.sh
 
index f4df292..fbe1002 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/group-names
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
index 838270f..e756b5b 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 umask 0
index 7a7995a..336041c 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index c716e4b..c156354 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 umask 0
index a280728..0924b47 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 ln -s non-existent dangle || framework_failure
index 9f33fbf..1bc5033 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 fail=0
index 8a641b8..9c867c0 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 fail=0
index 3ad958a..fbe74a2 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_root_
 
index be557e1..b7688c3 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   chown --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 ln -s no-such dangle || framework_failure
index cdc7234..9ec18f5 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   chown --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 737a3eb..2f6e20f 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir a b c || framework_failure
index bfea3bf..bfbb238 100755 (executable)
@@ -18,7 +18,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Make sure we get English translations.
-. $top_srcdir/tests/lang-default
 
 if test "$VERBOSE" = yes; then
   set -x
index e55ede1..23d2a59 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 echo a > a || framework_failure
index dfbded1..92627e7 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_root_
 require_selinux_
index 5aa690d..a2c47be 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir -p a b/a/c || framework_failure
index 41bc50b..41bf877 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Ensure that ls sorts the same way for everyone.
-. $top_srcdir/tests/lang-default
 
 . $top_srcdir/tests/test-lib.sh
 
index dfd2871..6a24290 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch f slink-target || framework_failure
index b5d14d6..ae9ca04 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 7660454..49f5fed 100755 (executable)
@@ -26,7 +26,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir dir || framework_failure
index 091c0a5..b396cd5 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch a || framework_failure
index ce08a60..1f18e03 100755 (executable)
@@ -16,7 +16,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_root_
 
index 1058b56..b32d2d8 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 # Unset CDPATH.  Otherwise, output from the `cd dir' command
index 633b27e..8fd1dac 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch file || framework_failure
index a2e67ba..82e6ae2 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkfifo fifo ||
index 1ace67b..a5854e1 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir dir || framework_failure
index 1b1145b..aa494c5 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 ln -s no-such dangle || framework_failure
index 6833495..3a378ce 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir -p a/b d d/sub || framework_failure
index 94fe9c4..d0ca855 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir -p dir/sub
index ba5aed0..589328d 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index a969224..208417e 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 # Create lots of directories, each containing a single symlink
index 9cff767..b7d6273 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 26ac5dd..92c383f 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   ginstall --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index d46316f..0021d37 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   ln --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch f || framework_failure
index 9ac0f98..224d2cb 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Make sure we get English translations.
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 echo foo > a || framework_failure
index 87f63c9..327c350 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir sub
index d96efa0..bc783ba 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir loop || framework_failure
index 37becec..9381810 100755 (executable)
@@ -24,7 +24,6 @@ fi
 : ${srcdir=.}
 . $top_srcdir/tests/require-perl
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_root_
 
index 3e3c36a..c07e5e5 100755 (executable)
@@ -16,7 +16,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. $top_srcdir/tests/lang-default
 
 if test "$VERBOSE" = yes; then
   set -x
index 977de39..1d1630a 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 641826e..830cb96 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir dir || framework_failure
index 2153536..eb1a39e 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir subdir || framework_failure
index 74248a3..e637893 100755 (executable)
@@ -6,7 +6,6 @@ if test "$VERBOSE" = yes; then
   chcon --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_root_
 require_selinux_
index 036d531..5c67276 100755 (executable)
@@ -7,7 +7,6 @@ if test "$VERBOSE" = yes; then
   chcon --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 fail=0
index a34fc24..3d681fd 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   csplit --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 fail=0
index 7b52dd2..7669550 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   df --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 fail=0
index e7d7d37..62bf1a4 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   groups --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 # Coreutils 6.9 and earlier failed to display information on first argument
index 3d7802b..12e16c3 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   groups --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_built_ groups id
 
index 6298406..dc90f48 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   nohup --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 fail=0
index 3cc3646..9056602 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   "$prog" --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_ulimit_
 
index 05e3781..77637a3 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   runcon --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 cat <<\EOF > exp || framework_failure
index 414e22e..e946664 100755 (executable)
@@ -10,7 +10,6 @@ if test "$VERBOSE" = yes; then
   stat --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 require_selinux_
index 246a1c7..cde4855 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   split --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 a_z='a b c d e f g h i j k l m n o p q r s t u v w x y z'
index ce7ee29..d15dd92 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   split --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch in || framework_failure
index 0c421e5..c8da320 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   tac --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 # See if the envvar is defined.
index 7b54fda..d80911d 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   wc --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 echo 2 > 2b || framework_failure
index ffca679..b3759d5 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 fail=0
index f0795b1..31b1f3e 100755 (executable)
@@ -27,7 +27,6 @@ fi
 # mcstrans-0.2.8-1.fc9, the following commands may mistakenly exit
 # successfully, in spite of the invalid context string.
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 c=invalid-selinux-context
index 095fef1..858c2af 100755 (executable)
@@ -24,7 +24,6 @@ if test "$VERBOSE" = yes; then
   setfacl --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_acl_
 
index d23476e..e3b42fb 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir A B || framework_failure
index f90ce43..3335d07 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_top_srcdir/tests/other-fs-tmpdir"
index 6cece3f..1fa77dc 100755 (executable)
@@ -25,7 +25,6 @@ if test "$VERBOSE" = yes; then
   ln --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 37739f0..413da6f 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Make sure we get English translations.
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch f1 || framework_failure
index f8361fb..76622dc 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir -p a/t b/t || framework_failure
index bba2ef8..edb5397 100755 (executable)
@@ -25,7 +25,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 27c0a18..05d7f04 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 ff=mvforce
index 93f8ec1..6afaead 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_top_srcdir/tests/other-fs-tmpdir"
index f156f79..3a24566 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch x || framework_failure
index 2b53730..4153dc9 100755 (executable)
@@ -25,7 +25,6 @@ fi
 
 
 # Make sure we get English translations.
-. $top_srcdir/tests/lang-default
 
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
index 1250baf..3052526 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/input-tty
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
index 3714527..e1a2c1c 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 for i in a b; do
index 4143c83..3b2e27d 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir a || framework_failure
index b3f8fd4..2eddf85 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir a b || framework_failure
index a877de4..e9273d1 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 dir=toself-dir
index 147941a..32801a3 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_top_srcdir/tests/other-fs-tmpdir"
index f531f51..3235b7f 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 dir1=is3-dir1
index 8bf5075..d883f5b 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_top_srcdir/tests/other-fs-tmpdir"
index 92d7ad4..e5396c2 100755 (executable)
@@ -24,7 +24,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 cleanup_() { t=$other_partition_tmpdir; chmod -R 700 "$t"; rm -rf "$t"; }
index f49ebec..0b7e213 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_top_srcdir/tests/other-fs-tmpdir"
index 54aa836..ca32e47 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_top_srcdir/tests/other-fs-tmpdir"
index a5ab790..8a359ff 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 35ec524..e394772 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch a b || framework_failure
index 940770b..d0e90c1 100755 (executable)
@@ -24,7 +24,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_root_
 
index 6fab2ce..7edb99a 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 echo old > old || framework_failure
index acaa14e..5daf716 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 4f5b325..94f53e6 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir --mode=0500 unwritable-dir || framework_failure
index 817edfd..32cabc6 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir d || framework_failure
index 90a1ce9..6e98baa 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_root_
 
index 7e13a78..d2b5b04 100755 (executable)
@@ -24,7 +24,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index e000936..2f86b03 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 # Skip this test if your system has neither the openat-style functions
index a20c879..a6d08f3 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 touch file1-1 file1-2 file2-1 file2-2 file3-1 file3-2 file4-1 file4-2 \
index bb2f238..4c92516 100755 (executable)
@@ -23,7 +23,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir -p dir1-1 dir2-1 dir2-2 || framework_failure
index b0f4fdc..382f30a 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index abb12d4..eb8482d 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 require_root_
 
index 1bc1743..97f00c6 100755 (executable)
@@ -24,7 +24,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir a a/a || framework_failure
index 3702606..f3e1cfa 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir t t/a t/a/b || framework_failure
index 0ea38eb..110a82d 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index fca9fa5..8df52c8 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 9708bd2..1682ea3 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 70bc048..0b6ab69 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 7324583..e9c94ad 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 1e3fad9..7f582d0 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index 198b82b..a942f1f 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 mkdir a || framework_failure
index 7177ad4..1df8e54 100755 (executable)
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 skip_if_root_
 
index d041531..f3b294d 100755 (executable)
@@ -22,7 +22,6 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
 if env -- test -w /; then