tests: don't source envvar-check manually, test-lib.sh does it
authorJim Meyering <meyering@redhat.com>
Fri, 25 Apr 2008 12:39:38 +0000 (14:39 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 27 Apr 2008 19:31:33 +0000 (21:31 +0200)
* 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.

tests/cp/abuse
tests/cp/parent-perm
tests/cp/special-f
tests/ls/proc-selinux-segfault
tests/misc/help-version
tests/mkdir/selinux
tests/mv/sticky-to-xpart
tests/sample-test
tests/touch/now-owned-by-other

index f4f215f..737a3eb 100755 (executable)
@@ -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
 
index d2c2533..77bcf75 100755 (executable)
@@ -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_
index cf684e3..a2e67ba 100755 (executable)
@@ -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
 
index 60cfe55..79ea523 100755 (executable)
@@ -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
index da900a5..25364df 100755 (executable)
@@ -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
index c81669d..f0795b1 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/envvar-check
 . $top_srcdir/tests/lang-default
 . $top_srcdir/tests/test-lib.sh
 
index 1578ae8..940770b 100755 (executable)
@@ -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_
index c081504..e6ef5b6 100644 (file)
@@ -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_
index 7aaa4f3..2f85850 100755 (executable)
@@ -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_