summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/lib/filefunc.t
blob: 46a1e35774a98c1bb7b0908dea7290e2a7f9cef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!./perl

BEGIN {
    $^O = '';
    chdir 't' if -d 't';
    unshift @INC, '../lib';
}

print "1..1\n";

use File::Spec::Functions;

if (catfile('a','b','c') eq 'a/b/c') {
    print "ok 1\n";
} else {
    print "not ok 1\n";
}
OpenPOWER on IntegriCloud