summaryrefslogtreecommitdiff
path: root/contrib/perl5/t/lib/checktree.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/lib/checktree.t')
-rwxr-xr-xcontrib/perl5/t/lib/checktree.t19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/perl5/t/lib/checktree.t b/contrib/perl5/t/lib/checktree.t
new file mode 100755
index 000000000000..b5426ca261e7
--- /dev/null
+++ b/contrib/perl5/t/lib/checktree.t
@@ -0,0 +1,19 @@
+#!./perl
+
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+
+print "1..1\n";
+
+use File::CheckTree;
+
+# We assume that we run from the perl "t" directory.
+
+validate q{
+ lib -d || die
+ lib/checktree.t -f || die
+};
+
+print "ok 1\n";