summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-30 23:22:21 +0100
committerJim Meyering <meyering@redhat.com>2008-02-09 10:30:33 +0100
commit52d9bba7126de635eb356e3b379c5e4659ce2462 (patch)
tree2de754ceff1eebc737d58b5b5b5e118cf9ab987d /tests/cp
parent0f197c8acd0b74a4496284491b59ceea84f8652b (diff)
downloadcoreutils-52d9bba7126de635eb356e3b379c5e4659ce2462.tar.xz
tests: move the very-expensive file into test-lib.sh
* tests/very-expensive: Remove file. * tests/test-lib.sh (very_expensive_): New function. * tests/Makefile.am (EXTRA_DIST): Remove very-expensive. * tests/cp/perm: Call the new function, rather than sourcing the file. * tests/tail-2/assert: Likewise. * tests/tail-2/assert-2: Likewise. * tests/du/2g: Likewise.
Diffstat (limited to 'tests/cp')
-rwxr-xr-xtests/cp/perm3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cp/perm b/tests/cp/perm
index 88052aa02..a31d430e0 100755
--- a/tests/cp/perm
+++ b/tests/cp/perm
@@ -16,8 +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/>.
-. $srcdir/../very-expensive
-
if test "$VERBOSE" = yes; then
set -x
cp --version
@@ -25,6 +23,7 @@ if test "$VERBOSE" = yes; then
fi
. $srcdir/../test-lib.sh
+very_expensive_
umask 037