File: 01load.t

package info (click to toggle)
libconfig-find-perl 0.31-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 212 kB
  • sloc: perl: 790; makefile: 2
file content (23 lines) | stat: -rwxr-xr-x 519 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 1.t'

#########################

use Test::More tests => 3;

my $OS = '-';

BEGIN {
    use_ok('Config::Find');
    use_ok('Config::Find::Any');
    use_ok('Config::Find::Where');

    if ($^O=~/Win32/) {
        require Win32;
        $OS = uc Win32::GetOSName();
    }
};

diag( "Testing Config::Find $Config::Find::VERSION, Perl $], $^X, OS: $^O ($OS)" );

#########################