File: eol_special.t

package info (click to toggle)
libhttp-exception-perl 0.04007-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 300 kB
  • sloc: perl: 232; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 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;