summaryrefslogtreecommitdiff
path: root/cpan/Module-Metadata/t
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2015-06-05 08:49:15 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2015-06-05 08:49:15 +0100
commit72b8c7a2166f738711a9747c4906273b38c52517 (patch)
treecf7bd022cf40b7c92f5af8203e3ec74384c0de20 /cpan/Module-Metadata/t
parenta4f8ff4607cb674cb0c6feeb56b8eb80bbe28259 (diff)
downloadperl-72b8c7a2166f738711a9747c4906273b38c52517.tar.gz
Upgrade Module-Metadata from version 1.000026 to 1.000027
Diffstat (limited to 'cpan/Module-Metadata/t')
-rw-r--r--cpan/Module-Metadata/t/metadata.t1
-rw-r--r--cpan/Module-Metadata/t/taint.t4
2 files changed, 3 insertions, 2 deletions
diff --git a/cpan/Module-Metadata/t/metadata.t b/cpan/Module-Metadata/t/metadata.t
index ca928631e9..67c68a9c5f 100644
--- a/cpan/Module-Metadata/t/metadata.t
+++ b/cpan/Module-Metadata/t/metadata.t
@@ -1,4 +1,3 @@
-#!/usr/bin/perl -w
# -*- mode: cperl; tab-width: 8; indent-tabs-mode: nil; basic-offset: 2 -*-
# vim:ts=8:sw=2:et:sta:sts=2
diff --git a/cpan/Module-Metadata/t/taint.t b/cpan/Module-Metadata/t/taint.t
index 80ae7ea12b..18f0300742 100644
--- a/cpan/Module-Metadata/t/taint.t
+++ b/cpan/Module-Metadata/t/taint.t
@@ -2,7 +2,9 @@
use strict;
use warnings;
-use Test::More tests => 2;
+use Config;
+use Test::More $Config{ccflags} =~ /-DSILENT_NO_TAINT_SUPPORT/
+ ? ( skip_all => 'No taint support' ) : ( tests => 2 );
use Module::Metadata;
use Carp 'croak';