diff options
Diffstat (limited to 'ext/Fcntl/t/fcntl.t')
-rw-r--r-- | ext/Fcntl/t/fcntl.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/Fcntl/t/fcntl.t b/ext/Fcntl/t/fcntl.t index 24ade27c92..02fd95823e 100644 --- a/ext/Fcntl/t/fcntl.t +++ b/ext/Fcntl/t/fcntl.t @@ -1,5 +1,10 @@ #!./perl +BEGIN { + chdir 't' if -d 't'; + @INC = '../lib'; +} + # A modest test: exercises only O_WRONLY, O_CREAT, and O_RDONLY. # Have to be modest to be portable: could possibly extend testing # also to O_RDWR and O_APPEND, but dunno about the portability of, |