summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-25 14:39:38 +0200
committerJim Meyering <meyering@redhat.com>2008-04-27 21:31:33 +0200
commit972e2737abf30c522c029051a13354756413ea46 (patch)
treeab874ea0f443e89ca576792a10c25d74e30808d2
parent816e56a3deff5d95c946b52622a60c17d6d74ee4 (diff)
downloadcoreutils-972e2737abf30c522c029051a13354756413ea46.tar.xz
tests: don't source envvar-check manually, test-lib.sh does it
* tests/cp/abuse: Remove ". $top_srcdir/tests/envvar-check". * tests/cp/parent-perm: Likewise. * tests/cp/special-f: Likewise. * tests/ls/proc-selinux-segfault: Likewise. * tests/misc/help-version: Likewise. * tests/mkdir/selinux: Likewise. * tests/mv/sticky-to-xpart: Likewise. * tests/touch/now-owned-by-other: Likewise. * tests/sample-test: Remove commented out suggestion.
-rwxr-xr-xtests/cp/abuse1
-rwxr-xr-xtests/cp/parent-perm1
-rwxr-xr-xtests/cp/special-f1
-rwxr-xr-xtests/ls/proc-selinux-segfault1
-rwxr-xr-xtests/misc/help-version1
-rwxr-xr-xtests/mkdir/selinux1
-rwxr-xr-xtests/mv/sticky-to-xpart1
-rw-r--r--tests/sample-test1
-rwxr-xr-xtests/touch/now-owned-by-other1
9 files changed, 0 insertions, 9 deletions
diff --git a/tests/cp/abuse b/tests/cp/abuse
index f4f215f42..737a3ebab 100755
--- a/tests/cp/abuse
+++ b/tests/cp/abuse
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
cp --version
fi
-. $top_srcdir/tests/envvar-check
. $top_srcdir/tests/lang-default
. $top_srcdir/tests/test-lib.sh
diff --git a/tests/cp/parent-perm b/tests/cp/parent-perm
index d2c2533cc..77bcf7584 100755
--- a/tests/cp/parent-perm
+++ b/tests/cp/parent-perm
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
cp --version
fi
-. $top_srcdir/tests/envvar-check
. $top_srcdir/tests/test-lib.sh
working_umask_or_skip_
diff --git a/tests/cp/special-f b/tests/cp/special-f
index cf684e362..a2e67ba40 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/envvar-check
. $top_srcdir/tests/lang-default
. $top_srcdir/tests/test-lib.sh
diff --git a/tests/ls/proc-selinux-segfault b/tests/ls/proc-selinux-segfault
index 60cfe5509..79ea5235d 100755
--- a/tests/ls/proc-selinux-segfault
+++ b/tests/ls/proc-selinux-segfault
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
ls --version
fi
-. $top_srcdir/tests/envvar-check
. $top_srcdir/tests/test-lib.sh
f=/proc/sys
diff --git a/tests/misc/help-version b/tests/misc/help-version
index da900a56e..25364dfd2 100755
--- a/tests/misc/help-version
+++ b/tests/misc/help-version
@@ -25,7 +25,6 @@ test "$VERBOSE" = yes && set -x
test "x$SHELL" = x && SHELL=/bin/sh
export SHELL
-. $top_srcdir/tests/envvar-check
. $top_srcdir/tests/test-lib.sh
expected_failure_status_nohup=127
diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux
index c81669d61..f0795b1ed 100755
--- a/tests/mkdir/selinux
+++ b/tests/mkdir/selinux
@@ -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/envvar-check
. $top_srcdir/tests/lang-default
. $top_srcdir/tests/test-lib.sh
diff --git a/tests/mv/sticky-to-xpart b/tests/mv/sticky-to-xpart
index 1578ae849..940770b63 100755
--- a/tests/mv/sticky-to-xpart
+++ b/tests/mv/sticky-to-xpart
@@ -24,7 +24,6 @@ if test "$VERBOSE" = yes; then
mv --version
fi
-. $top_srcdir/tests/envvar-check
. $top_srcdir/tests/lang-default
. $top_srcdir/tests/test-lib.sh
require_root_
diff --git a/tests/sample-test b/tests/sample-test
index c081504a8..e6ef5b6fa 100644
--- a/tests/sample-test
+++ b/tests/sample-test
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
FIXME --version
fi
-# FIXME: . $top_srcdir/tests/envvar-check
# FIXME: . $top_srcdir/tests/lang-default
. $top_srcdir/tests/test-lib.sh
# FIXME: skip_if_root_
diff --git a/tests/touch/now-owned-by-other b/tests/touch/now-owned-by-other
index 7aaa4f3a0..2f85850bb 100755
--- a/tests/touch/now-owned-by-other
+++ b/tests/touch/now-owned-by-other
@@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then
touch --version
fi
-. $top_srcdir/tests/envvar-check
. $top_srcdir/tests/test-lib.sh
require_root_