summaryrefslogtreecommitdiff
path: root/tests/misc/md5sum-newline
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/md5sum-newline')
-rwxr-xr-xtests/misc/md5sum-newline8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/misc/md5sum-newline b/tests/misc/md5sum-newline
index df3254e71..41139816a 100755
--- a/tests/misc/md5sum-newline
+++ b/tests/misc/md5sum-newline
@@ -16,14 +16,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
# See if we can create a filename that contains a newline.
# Be careful to do it in a subshell so that we can redirect the