Upgrade to Test-Simple-0.82.
[p5sagit/p5-mst-13.2.git] / lib / Test / Simple / t / 00test_harness_check.t
CommitLineData
30e302f8 1#!/usr/bin/perl -w
ccbd73a4 2# $Id: /mirror/googlecode/test-more/t/00test_harness_check.t 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
30e302f8 3
4# A test to make sure the new Test::Harness was installed properly.
5
6use Test::More;
7plan tests => 1;
8
b1ddf169 9my $TH_Version = 2.03;
10
30e302f8 11require Test::Harness;
004caa16 12unless( cmp_ok( eval $Test::Harness::VERSION, '>=', $TH_Version, "T::H version" ) ) {
30e302f8 13 diag <<INSTRUCTIONS;
14
15Test::Simple/More/Builder has features which depend on a version of
b1ddf169 16Test::Harness greater than $TH_Version. You have $Test::Harness::VERSION.
30e302f8 17Please install a new version from CPAN.
18
19If you've already tried to upgrade Test::Harness and still get this
20message, the new version may be "shadowed" by the old. Check the
21output of Test::Harness's "make install" for "## Differing version"
22messages. You can delete the old version by running
23"make install UNINST=1".
24
25INSTRUCTIONS
26}
27