summaryrefslogtreecommitdiff
path: root/t/re/reg_eval_scope.t
diff options
context:
space:
mode:
Diffstat (limited to 't/re/reg_eval_scope.t')
-rw-r--r--t/re/reg_eval_scope.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/re/reg_eval_scope.t b/t/re/reg_eval_scope.t
index 0eaeeb98d7..4243f87a2c 100644
--- a/t/re/reg_eval_scope.t
+++ b/t/re/reg_eval_scope.t
@@ -3,7 +3,7 @@
# Test scoping issues with embedded code in regexps.
BEGIN {
- chdir 't';
+ chdir 't' if -d 't';
require './test.pl';
set_up_inc(qw(lib ../lib));
}