summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/t/revision.t
blob: 896b1914ca0a8fd4b0e53b5bac0dcdceb3495d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/perl -w

BEGIN {
    if( $ENV{PERL_CORE} ) {
        chdir 't' if -d 't';
        @INC = ('../lib', 'lib');
    }
    else {
        unshift @INC, 't/lib';
    }
}

use Test::More tests => 4;

BEGIN { 
    use_ok 'ExtUtils::MakeMaker'; 
    use_ok 'ExtUtils::MM_VMS';
}

# Why 1?  Because a common mistake is for the regex to run in scalar context
# thus getting the count of captured elements (1) rather than the value of $1
cmp_ok $ExtUtils::MakeMaker::Revision, '>', 1;
cmp_ok $ExtUtils::MM_VMS::Revision,    '>', 1;