summaryrefslogtreecommitdiff
path: root/tests/dd
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-14 21:47:08 +0200
committerJim Meyering <meyering@redhat.com>2007-10-14 21:47:08 +0200
commit84c3fb94ac9e9fb46e7c06f2cf52f9659ca33a9d (patch)
treecd735d70eb0d2102cf09d01ef32ea7a495d2ad66 /tests/dd
parentb81697cd4a071b7fada8e0ff12e5058d49717a1b (diff)
downloadcoreutils-84c3fb94ac9e9fb46e7c06f2cf52f9659ca33a9d.tar.xz
Pull all TESTS_ENVIRONMENT settings "up" into tests/check.mk.
* tests/Makefile.am.in (TESTS_ENVIRONMENT): Remove definition. * tests/chgrp/Makefile.am: Likewise. * tests/chmod/Makefile.am: Likewise. * tests/chown/Makefile.am: Likewise. * tests/cp/Makefile.am: Likewise. * tests/dd/Makefile.am: Likewise. * tests/du/Makefile.am: Likewise. * tests/install/Makefile.am: Likewise. * tests/ln/Makefile.am: Likewise. * tests/ls/Makefile.am: Likewise. * tests/misc/Makefile.am: Likewise. * tests/mkdir/Makefile.am: Likewise. * tests/mv/Makefile.am: Likewise. * tests/readlink/Makefile.am: Likewise. * tests/rm/Makefile.am: Likewise. * tests/rmdir/Makefile.am: Likewise. * tests/tail-2/Makefile.am: Likewise. * tests/touch/Makefile.am: Likewise. * tests/check.mk (TESTS_ENVIRONMENT) [EXEEXT, EGREP, MAKE, PERL]: [CONFIG_HEADER, build_programs, host_os, host_triplet, PATH]: [REPLACE_GETCWD, CU_TEST_NAME]: Add definitions here. * tests/misc/pwd-long: Use $abs_top_builddir/src, not $BUILD_SRC_DIR. * tests/dd/skip-seek: Don't use $ENV{PROG}. * tests/rm/empty-name: Likewise. * tests/rm/unreadable: Likewise. * tests/mv/i-1: Likewise.
Diffstat (limited to 'tests/dd')
-rw-r--r--tests/dd/Makefile.am6
-rwxr-xr-xtests/dd/skip-seek2
2 files changed, 1 insertions, 7 deletions
diff --git a/tests/dd/Makefile.am b/tests/dd/Makefile.am
index 26c26ada7..afc17e83f 100644
--- a/tests/dd/Makefile.am
+++ b/tests/dd/Makefile.am
@@ -2,12 +2,6 @@
EXTRA_DIST = $(TESTS)
-TESTS_ENVIRONMENT = \
- PERL="$(PERL)" \
- CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \
- PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
- PROG=dd
-
TESTS = \
misc not-rewound skip-seek skip-seek2 unblock-sync
diff --git a/tests/dd/skip-seek b/tests/dd/skip-seek
index 9f82a75fd..a30195e92 100755
--- a/tests/dd/skip-seek
+++ b/tests/dd/skip-seek
@@ -91,7 +91,7 @@ my @Tests =
my $save_temps = $ENV{DEBUG};
my $verbose = $ENV{VERBOSE};
-my $prog = $ENV{PROG} || die "$0: \$PROG not specified in environment\n";
+my $prog = 'dd';
my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose);
exit $fail;
EOF