summaryrefslogtreecommitdiff
path: root/lib/File/Spec/Functions.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/File/Spec/Functions.t')
-rwxr-xr-xlib/File/Spec/Functions.t17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/File/Spec/Functions.t b/lib/File/Spec/Functions.t
new file mode 100755
index 0000000000..926812248c
--- /dev/null
+++ b/lib/File/Spec/Functions.t
@@ -0,0 +1,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";
+}