File: eol_special.t

package info (click to toggle)
libhttp-exception-perl 0.04006-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 288 kB
  • ctags: 55
  • sloc: perl: 223; makefile: 2
file content (22 lines) | stat: -rwxr-xr-x 442 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
use strict;
use Test::More;

BEGIN {
    unless ( $ENV{RELEASE_TESTING} ) {
        plan( skip_all => "Author tests not required for installation" );
    }

    eval "use Test::EOL";
    plan skip_all => 'Test::EOL required for testing EOL' if $@;
}

for my $filename (qw~Changes~) {
    unless (-f $filename) {
        diag "$filename does not exist";
        next;
    }
    eol_unix_ok     $filename,  "$filename is ok";
}


done_testing;