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