File: 01_compile.t

package info (click to toggle)
libfile-sharedir-perl 1.118-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 216 kB
  • sloc: perl: 949; makefile: 8
file content (21 lines) | stat: -rwxr-xr-x 297 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
#!/usr/bin/perl

# Compile-testing for File::ShareDir

use strict;

BEGIN
{
    $|  = 1;
    $^W = 1;
}

use Test::More;

ok($] > 5.005, 'Perl version is 5.005 or newer');

use_ok('File::ShareDir');

diag("Testing File::ShareDir $File::ShareDir::VERSION, Perl $], $^X, UID: $<");

done_testing();