summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/lib/textfill.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/lib/textfill.t b/t/lib/textfill.t
index b40aaff28e..857ae2f755 100755
--- a/t/lib/textfill.t
+++ b/t/lib/textfill.t
@@ -1,4 +1,9 @@
-#!/usr/bin/perl -w -I.
+#!./perl -w
+
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
@tests = (split(/\nEND\n/s, <<DONE));
TEST1