summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/lib/filefunc.t
blob: 926812248c285797b7b6c447f11bd2893a029357 (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';
    @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