diff options
Diffstat (limited to 'gnu/usr.bin/perl/t/lib/filefunc.t')
-rw-r--r-- | gnu/usr.bin/perl/t/lib/filefunc.t | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/t/lib/filefunc.t b/gnu/usr.bin/perl/t/lib/filefunc.t new file mode 100644 index 00000000000..46a1e35774a --- /dev/null +++ b/gnu/usr.bin/perl/t/lib/filefunc.t @@ -0,0 +1,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"; +} |