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