summaryrefslogtreecommitdiff
path: root/t/uni/chomp.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-09-25 21:02:08 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-10-08 23:21:05 +0200
commitb5efbd1fd58239e05c33884dca48527365e40524 (patch)
tree5675a36a4187d96ccfd467706aa0ccce77b49c93 /t/uni/chomp.t
parent1ae3d757c27db17c9ef6b0c67525092963a9f025 (diff)
downloadperl-b5efbd1fd58239e05c33884dca48527365e40524.tar.gz
Test preamble: if requiring ./test.pl, needs chdir.
Exception: t/op/chdir, which does things its own way, for obvious reasons.
Diffstat (limited to 't/uni/chomp.t')
-rw-r--r--t/uni/chomp.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/uni/chomp.t b/t/uni/chomp.t
index 0dca91a9bf..47307363bf 100644
--- a/t/uni/chomp.t
+++ b/t/uni/chomp.t
@@ -1,6 +1,7 @@
#!./perl -w
BEGIN {
+ chdir 't' if -d 't';
require './test.pl';
skip_all_without_dynamic_extension('Encode');
skip_all("EBCDIC") if $::IS_EBCDIC;