summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/lib/filefunc.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/lib/filefunc.t')
-rwxr-xr-xcontrib/perl5/t/lib/filefunc.t17
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/perl5/t/lib/filefunc.t b/contrib/perl5/t/lib/filefunc.t
new file mode 100755
index 0000000..46a1e35
--- /dev/null
+++ b/contrib/perl5/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";
+}
OpenPOWER on IntegriCloud