summaryrefslogtreecommitdiff
path: root/t/io
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-09-25 20:53:35 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-10-08 23:21:04 +0200
commita817e89d04f0dee7285d1e26ba27439611ce97f9 (patch)
tree1429b1871d712a79ae512edce00b3b6123c75710 /t/io
parente64254544c11557cb1b5190db4b7f1b2f1aeabe0 (diff)
downloadperl-a817e89d04f0dee7285d1e26ba27439611ce97f9.tar.gz
Test preamble: unify chdir 't' if -d 't';
Diffstat (limited to 't/io')
-rw-r--r--t/io/defout.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/io/defout.t b/t/io/defout.t
index 2cb7b9f5cc..a70fb6f266 100644
--- a/t/io/defout.t
+++ b/t/io/defout.t
@@ -7,7 +7,7 @@
# it probably needs expanding at some point to cover other stuff.
BEGIN {
- chdir 't';
+ chdir 't' if -d 't';
@INC = '../lib';
require './test.pl';
}