mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
tests: standardize perl usage in tests
* tests/cp/fiemap-FMR.sh: Ensure perl is parameterized to $PERL, and ensure require_perl_ is used, so tests are skipped appropriately. * tests/cp/preserve-gid.sh: Likewise. * tests/du/long-from-unreadable.sh: Likewise. * tests/misc/env-S-script.sh: Likewise. * tests/misc/sort-benchmark-random.sh: Likewise. * tests/rm/deep-2.sh: Likewise.
This commit is contained in:
@@ -34,7 +34,6 @@ mkdir x || framework_failure_
|
||||
cd x || framework_failure_
|
||||
|
||||
# Construct a hierarchy containing a relative file with a long name
|
||||
: ${PERL=perl}
|
||||
$PERL \
|
||||
-e 'my $d = "x" x 200; foreach my $i (1..52)' \
|
||||
-e ' { mkdir ($d, 0700) && chdir $d or die "$!" }' \
|
||||
|
||||
Reference in New Issue
Block a user