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