summaryrefslogtreecommitdiff
path: root/tests/misc/fmt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/fmt')
-rwxr-xr-xtests/misc/fmt8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/misc/fmt b/tests/misc/fmt
index 0cc9ba251..49067ad9b 100755
--- a/tests/misc/fmt
+++ b/tests/misc/fmt
@@ -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
# Export this to avoid hassles when run in a UTF-8 locale,
# since we use 8-bit characters below, and those values are