summaryrefslogtreecommitdiff
path: root/tests/dd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dd')
-rwxr-xr-xtests/dd/skip-seek8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/dd/skip-seek b/tests/dd/skip-seek
index f2c0393fe..ce0121c62 100755
--- a/tests/dd/skip-seek
+++ b/tests/dd/skip-seek
@@ -18,14 +18,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-: ${PERL=perl}
: ${srcdir=.}
-
-$PERL -e 'use warnings;' > /dev/null 2>&1 || {
- echo 1>&2 "$0: configure didn't find a usable version of Perl," \
- "so can't run this test"
- exit 77
-}
+. $srcdir/../require-perl
SCRIPT_NAME=$0
export SCRIPT_NAME