summaryrefslogtreecommitdiff
path: root/tests/cp
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/cp
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/cp')
-rwxr-xr-xtests/cp/abuse1
-rwxr-xr-xtests/cp/acl1
-rwxr-xr-xtests/cp/backup-is-src1
-rwxr-xr-xtests/cp/cp-a-selinux1
-rwxr-xr-xtests/cp/cp-i1
-rwxr-xr-xtests/cp/cp-mv-backup1
-rwxr-xr-xtests/cp/deref-slink1
-rwxr-xr-xtests/cp/fail-perm1
-rwxr-xr-xtests/cp/into-self1
-rwxr-xr-xtests/cp/link-preserve1
-rwxr-xr-xtests/cp/preserve-gid1
-rwxr-xr-xtests/cp/same-file1
-rwxr-xr-xtests/cp/slink-2-slink1
-rwxr-xr-xtests/cp/special-f1
-rwxr-xr-xtests/cp/symlink-slash1
-rwxr-xr-xtests/cp/thru-dangling1
16 files changed, 0 insertions, 16 deletions
diff --git a/tests/cp/abuse b/tests/cp/abuse
index 737a3ebab..2f6e20f67 100755
--- a/tests/cp/abuse
+++ b/tests/cp/abuse
@@ -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
diff --git a/tests/cp/acl b/tests/cp/acl
index bfea3bfd3..bfbb23803 100755
--- a/tests/cp/acl
+++ b/tests/cp/acl
@@ -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
diff --git a/tests/cp/backup-is-src b/tests/cp/backup-is-src
index e55ede1be..23d2a59d8 100755
--- a/tests/cp/backup-is-src
+++ b/tests/cp/backup-is-src
@@ -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
diff --git a/tests/cp/cp-a-selinux b/tests/cp/cp-a-selinux
index dfbded1d2..92627e719 100755
--- a/tests/cp/cp-a-selinux
+++ b/tests/cp/cp-a-selinux
@@ -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_
diff --git a/tests/cp/cp-i b/tests/cp/cp-i
index 5aa690d86..a2c47be44 100755
--- a/tests/cp/cp-i
+++ b/tests/cp/cp-i
@@ -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
diff --git a/tests/cp/cp-mv-backup b/tests/cp/cp-mv-backup
index 41bc50b2f..41bf8771c 100755
--- a/tests/cp/cp-mv-backup
+++ b/tests/cp/cp-mv-backup
@@ -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
diff --git a/tests/cp/deref-slink b/tests/cp/deref-slink
index dfd287161..6a24290c9 100755
--- a/tests/cp/deref-slink
+++ b/tests/cp/deref-slink
@@ -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
diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm
index b5d14d62f..ae9ca041c 100755
--- a/tests/cp/fail-perm
+++ b/tests/cp/fail-perm
@@ -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_
diff --git a/tests/cp/into-self b/tests/cp/into-self
index 7660454a7..49f5feddd 100755
--- a/tests/cp/into-self
+++ b/tests/cp/into-self
@@ -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
diff --git a/tests/cp/link-preserve b/tests/cp/link-preserve
index 091c0a504..b396cd566 100755
--- a/tests/cp/link-preserve
+++ b/tests/cp/link-preserve
@@ -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
diff --git a/tests/cp/preserve-gid b/tests/cp/preserve-gid
index ce08a60ac..1f18e0375 100755
--- a/tests/cp/preserve-gid
+++ b/tests/cp/preserve-gid
@@ -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_
diff --git a/tests/cp/same-file b/tests/cp/same-file
index 1058b568d..b32d2d81f 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -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
diff --git a/tests/cp/slink-2-slink b/tests/cp/slink-2-slink
index 633b27eea..8fd1dac8f 100755
--- a/tests/cp/slink-2-slink
+++ b/tests/cp/slink-2-slink
@@ -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
diff --git a/tests/cp/special-f b/tests/cp/special-f
index a2e67ba40..82e6ae27b 100755
--- a/tests/cp/special-f
+++ b/tests/cp/special-f
@@ -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 ||
diff --git a/tests/cp/symlink-slash b/tests/cp/symlink-slash
index 1ace67bc6..a5854e1b9 100755
--- a/tests/cp/symlink-slash
+++ b/tests/cp/symlink-slash
@@ -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
diff --git a/tests/cp/thru-dangling b/tests/cp/thru-dangling
index 1b1145b5a..aa494c597 100755
--- a/tests/cp/thru-dangling
+++ b/tests/cp/thru-dangling
@@ -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