summaryrefslogtreecommitdiff
path: root/lib/bigfloat.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bigfloat.t')
-rwxr-xr-xlib/bigfloat.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bigfloat.t b/lib/bigfloat.t
index 8e0a0ef724..d67d13d1d4 100755
--- a/lib/bigfloat.t
+++ b/lib/bigfloat.t
@@ -1,6 +1,10 @@
#!./perl
-BEGIN { @INC = '../lib' }
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+
require "bigfloat.pl";
$test = 0;