summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-02 23:44:59 +0200
committerJim Meyering <meyering@redhat.com>2008-05-06 08:21:29 +0200
commit1f3e96480213ba2b2d809593cd1448e2f99e4595 (patch)
tree3acb664f1b79f168ef100dfa57961388ff39fcb5 /tests/misc
parent62ebe4dabdb70088ea512fb51bcffedda4a8dde8 (diff)
downloadcoreutils-1f3e96480213ba2b2d809593cd1448e2f99e4595.tar.xz
tests: hoist the sourcing of "lang-default"
* 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:
Diffstat (limited to 'tests/misc')
-rwxr-xr-xtests/misc/chcon1
-rwxr-xr-xtests/misc/chcon-fail1
-rwxr-xr-xtests/misc/csplit1
-rwxr-xr-xtests/misc/df-P1
-rwxr-xr-xtests/misc/groups-dash1
-rwxr-xr-xtests/misc/groups-version1
-rwxr-xr-xtests/misc/nohup1
-rwxr-xr-xtests/misc/printf-surprise1
-rwxr-xr-xtests/misc/runcon-no-reorder1
-rwxr-xr-xtests/misc/selinux1
-rwxr-xr-xtests/misc/split-a1
-rwxr-xr-xtests/misc/split-fail1
-rwxr-xr-xtests/misc/tac-continue1
-rwxr-xr-xtests/misc/wc-files01
14 files changed, 0 insertions, 14 deletions
diff --git a/tests/misc/chcon b/tests/misc/chcon
index 74248a3e6..e637893ef 100755
--- a/tests/misc/chcon
+++ b/tests/misc/chcon
@@ -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_
diff --git a/tests/misc/chcon-fail b/tests/misc/chcon-fail
index 036d531ee..5c67276ce 100755
--- a/tests/misc/chcon-fail
+++ b/tests/misc/chcon-fail
@@ -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
diff --git a/tests/misc/csplit b/tests/misc/csplit
index a34fc24a3..3d681fd21 100755
--- a/tests/misc/csplit
+++ b/tests/misc/csplit
@@ -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
diff --git a/tests/misc/df-P b/tests/misc/df-P
index 7b52dd2d6..7669550e1 100755
--- a/tests/misc/df-P
+++ b/tests/misc/df-P
@@ -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
diff --git a/tests/misc/groups-dash b/tests/misc/groups-dash
index e7d7d371f..62bf1a4e8 100755
--- a/tests/misc/groups-dash
+++ b/tests/misc/groups-dash
@@ -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
diff --git a/tests/misc/groups-version b/tests/misc/groups-version
index 3d7802b63..12e16c3f0 100755
--- a/tests/misc/groups-version
+++ b/tests/misc/groups-version
@@ -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
diff --git a/tests/misc/nohup b/tests/misc/nohup
index 62984062b..dc90f48f1 100755
--- a/tests/misc/nohup
+++ b/tests/misc/nohup
@@ -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
diff --git a/tests/misc/printf-surprise b/tests/misc/printf-surprise
index 3cc3646d9..905660262 100755
--- a/tests/misc/printf-surprise
+++ b/tests/misc/printf-surprise
@@ -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_
diff --git a/tests/misc/runcon-no-reorder b/tests/misc/runcon-no-reorder
index 05e3781af..77637a30a 100755
--- a/tests/misc/runcon-no-reorder
+++ b/tests/misc/runcon-no-reorder
@@ -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
diff --git a/tests/misc/selinux b/tests/misc/selinux
index 414e22e4d..e94666492 100755
--- a/tests/misc/selinux
+++ b/tests/misc/selinux
@@ -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_
diff --git a/tests/misc/split-a b/tests/misc/split-a
index 246a1c7b9..cde48559e 100755
--- a/tests/misc/split-a
+++ b/tests/misc/split-a
@@ -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'
diff --git a/tests/misc/split-fail b/tests/misc/split-fail
index ce7ee295d..d15dd9244 100755
--- a/tests/misc/split-fail
+++ b/tests/misc/split-fail
@@ -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
diff --git a/tests/misc/tac-continue b/tests/misc/tac-continue
index 0c421e5b6..c8da320e1 100755
--- a/tests/misc/tac-continue
+++ b/tests/misc/tac-continue
@@ -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.
diff --git a/tests/misc/wc-files0 b/tests/misc/wc-files0
index 7b54fda6c..d80911dbd 100755
--- a/tests/misc/wc-files0
+++ b/tests/misc/wc-files0
@@ -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