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
8my $TH_Version = 2.03;
9
10require Test::Harness;
11unless( cmp_ok( eval $Test::Harness::VERSION, '>=', $TH_Version, "T::H version" ) ) {
12    diag <<INSTRUCTIONS;
13
14Test::Simple/More/Builder has features which depend on a version of
15Test::Harness greater than $TH_Version.  You have $Test::Harness::VERSION.
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
27