summaryrefslogtreecommitdiff
path: root/tests/rm/fail-eperm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/fail-eperm')
-rwxr-xr-xtests/rm/fail-eperm5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/rm/fail-eperm b/tests/rm/fail-eperm
index c619574ce..4abc9dec6 100755
--- a/tests/rm/fail-eperm
+++ b/tests/rm/fail-eperm
@@ -29,11 +29,8 @@ fi
PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
-: ${PERL=perl}
: ${srcdir=.}
-
-$PERL -e 1 > /dev/null 2>&1 ||
- skip_test_ "configure didn't find a usable version of Perl"
+. $srcdir/../require-perl
ARGV_0=$0
export ARGV_0