From 84c3fb94ac9e9fb46e7c06f2cf52f9659ca33a9d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 14 Oct 2007 21:47:08 +0200 Subject: 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. --- tests/rm/unreadable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/rm/unreadable') diff --git a/tests/rm/unreadable b/tests/rm/unreadable index 66a59515c..2fbe0320d 100755 --- a/tests/rm/unreadable +++ b/tests/rm/unreadable @@ -37,7 +37,7 @@ use strict; my $d = "dir-$$"; my $mkdir = {PRE => sub {mkdir $d,0100 or die "$d: $!\n"}}; -my $prog = $ENV{PROG} || die "$0: \$PROG not specified in environment\n"; +my $prog = 'rm'; my @Tests = ( -- cgit v1.2.3-70-g09d2