1
0
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:
Pádraig Brady
2018-06-30 18:50:40 -07:00
parent 3246bc08a6
commit 89f7fcd055
6 changed files with 9 additions and 7 deletions

View File

@@ -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 "$!" }' \