This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix O_CREAT without O_TRUNC in cpan/autodie/t/utf8_open.t
[perl5.git] / t / porting / cmp_version.t
CommitLineData
c8aeb9c6
A
1#!./perl -w
2
c8aeb9c6
A
3# Original by slaven@rezic.de, modified by jhi and matt.w.johnson@gmail.com
4#
5# Adapted from Porting/cmpVERSION.pl by Abigail
76733a60 6# Changes folded back into that by Nicholas
c8aeb9c6 7
18388fdb
NC
8BEGIN {
9 @INC = '..' if -f '../TestInit.pm';
10}
7eccb5a9 11use TestInit qw(T A); # T is chdir to the top level, A makes paths absolute
c8aeb9c6 12use strict;
76733a60 13
7cadc1d0 14require 't/test.pl';
fb7d5399
NC
15my $source = find_git_or_skip('all');
16chdir $source or die "Can't chdir to $source: $!";
c8aeb9c6 17
7eccb5a9 18system "$^X Porting/cmpVERSION.pl --exclude --tap";