Move the modules, tests, prove and Changes file from lib/ to
[p5sagit/p5-mst-13.2.git] / ext / Test / Harness / t / proverc.t
CommitLineData
b965d173 1#!/usr/bin/perl -w
2
3BEGIN {
5e2a19fc 4 if ( $ENV{PERL_CORE} ) {
5 chdir 't';
6 @INC = ( '../lib', 'lib' );
7 }
8 else {
9 unshift @INC, 't/lib';
b965d173 10 }
11}
12
13use strict;
14use lib 't/lib';
15use Test::More tests => 1;
16use File::Spec;
17use App::Prove;
18
19my $prove = App::Prove->new;
20
5e2a19fc 21$prove->add_rc_file(
22 File::Spec->catfile(
23 ( $ENV{PERL_CORE} ? 'lib' : 't' ), 'data', 'proverc'
24 )
25);
b965d173 26
27is_deeply $prove->{rc_opts},
28 [ '--should', 'be', '--split', 'correctly', 'Can', 'quote things',
5e2a19fc 29 'using single or', 'double quotes', '--this', 'is', 'OK?'
30 ],
b965d173 31 'options parsed';
32