summaryrefslogtreecommitdiff
path: root/tests/rm
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/rm
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/rm')
-rwxr-xr-xtests/rm/cycle1
-rwxr-xr-xtests/rm/dir-no-w1
-rwxr-xr-xtests/rm/dir-nonrecur1
-rwxr-xr-xtests/rm/fail-2eperm1
-rwxr-xr-xtests/rm/fail-eacces1
-rwxr-xr-xtests/rm/inaccessible1
-rwxr-xr-xtests/rm/interactive-always1
-rwxr-xr-xtests/rm/interactive-once1
-rwxr-xr-xtests/rm/isatty1
-rwxr-xr-xtests/rm/one-file-system1
-rwxr-xr-xtests/rm/r-11
-rwxr-xr-xtests/rm/r-21
-rwxr-xr-xtests/rm/rm11
-rwxr-xr-xtests/rm/rm21
-rwxr-xr-xtests/rm/rm31
-rwxr-xr-xtests/rm/rm41
-rwxr-xr-xtests/rm/rm51
-rwxr-xr-xtests/rm/unread21
-rwxr-xr-xtests/rm/v-slash1
19 files changed, 0 insertions, 19 deletions
diff --git a/tests/rm/cycle b/tests/rm/cycle
index acaa14e35..5daf716ef 100755
--- a/tests/rm/cycle
+++ b/tests/rm/cycle
@@ -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_
diff --git a/tests/rm/dir-no-w b/tests/rm/dir-no-w
index 4f5b32590..94f53e64c 100755
--- a/tests/rm/dir-no-w
+++ b/tests/rm/dir-no-w
@@ -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
diff --git a/tests/rm/dir-nonrecur b/tests/rm/dir-nonrecur
index 817edfd58..32cabc626 100755
--- a/tests/rm/dir-nonrecur
+++ b/tests/rm/dir-nonrecur
@@ -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
diff --git a/tests/rm/fail-2eperm b/tests/rm/fail-2eperm
index 90a1ce943..6e98baa63 100755
--- a/tests/rm/fail-2eperm
+++ b/tests/rm/fail-2eperm
@@ -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_
diff --git a/tests/rm/fail-eacces b/tests/rm/fail-eacces
index 7e13a789a..d2b5b04e0 100755
--- a/tests/rm/fail-eacces
+++ b/tests/rm/fail-eacces
@@ -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_
diff --git a/tests/rm/inaccessible b/tests/rm/inaccessible
index e00093654..2f86b034b 100755
--- a/tests/rm/inaccessible
+++ b/tests/rm/inaccessible
@@ -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
diff --git a/tests/rm/interactive-always b/tests/rm/interactive-always
index a20c87955..a6d08f3ba 100755
--- a/tests/rm/interactive-always
+++ b/tests/rm/interactive-always
@@ -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 \
diff --git a/tests/rm/interactive-once b/tests/rm/interactive-once
index bb2f23844..4c925161e 100755
--- a/tests/rm/interactive-once
+++ b/tests/rm/interactive-once
@@ -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
diff --git a/tests/rm/isatty b/tests/rm/isatty
index b0f4fdcb7..382f30a25 100755
--- a/tests/rm/isatty
+++ b/tests/rm/isatty
@@ -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_
diff --git a/tests/rm/one-file-system b/tests/rm/one-file-system
index abb12d4bf..eb8482de8 100755
--- a/tests/rm/one-file-system
+++ b/tests/rm/one-file-system
@@ -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_
diff --git a/tests/rm/r-1 b/tests/rm/r-1
index 1bc1743a5..97f00c67f 100755
--- a/tests/rm/r-1
+++ b/tests/rm/r-1
@@ -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
diff --git a/tests/rm/r-2 b/tests/rm/r-2
index 370260690..f3e1cfa70 100755
--- a/tests/rm/r-2
+++ b/tests/rm/r-2
@@ -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
diff --git a/tests/rm/rm1 b/tests/rm/rm1
index 0ea38eb5d..110a82d9e 100755
--- a/tests/rm/rm1
+++ b/tests/rm/rm1
@@ -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_
diff --git a/tests/rm/rm2 b/tests/rm/rm2
index fca9fa554..8df52c861 100755
--- a/tests/rm/rm2
+++ b/tests/rm/rm2
@@ -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_
diff --git a/tests/rm/rm3 b/tests/rm/rm3
index 9708bd295..1682ea3ec 100755
--- a/tests/rm/rm3
+++ b/tests/rm/rm3
@@ -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_
diff --git a/tests/rm/rm4 b/tests/rm/rm4
index 70bc048a9..0b6ab6988 100755
--- a/tests/rm/rm4
+++ b/tests/rm/rm4
@@ -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_
diff --git a/tests/rm/rm5 b/tests/rm/rm5
index 73245838d..e9c94ad26 100755
--- a/tests/rm/rm5
+++ b/tests/rm/rm5
@@ -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_
diff --git a/tests/rm/unread2 b/tests/rm/unread2
index 1e3fad939..7f582d0be 100755
--- a/tests/rm/unread2
+++ b/tests/rm/unread2
@@ -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_
diff --git a/tests/rm/v-slash b/tests/rm/v-slash
index 198b82b4c..a942f1f5b 100755
--- a/tests/rm/v-slash
+++ b/tests/rm/v-slash
@@ -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