summaryrefslogtreecommitdiff
path: root/t/lib/findbin.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/findbin.t')
-rwxr-xr-xt/lib/findbin.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/lib/findbin.t b/t/lib/findbin.t
new file mode 100755
index 0000000000..3e742f9a4f
--- /dev/null
+++ b/t/lib/findbin.t
@@ -0,0 +1,13 @@
+#!./perl
+
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+
+print "1..1\n";
+
+use FindBin qw($Bin);
+
+print "not " unless $Bin =~ m,t[/.]lib\]?$,;
+print "ok 1\n";