diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-25 21:02:08 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-10-08 23:21:05 +0200 |
commit | b5efbd1fd58239e05c33884dca48527365e40524 (patch) | |
tree | 5675a36a4187d96ccfd467706aa0ccce77b49c93 /t/benchmark | |
parent | 1ae3d757c27db17c9ef6b0c67525092963a9f025 (diff) | |
download | perl-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/benchmark')
-rw-r--r-- | t/benchmark/rt26188-speed-up-keys-on-empty-hash.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/benchmark/rt26188-speed-up-keys-on-empty-hash.t b/t/benchmark/rt26188-speed-up-keys-on-empty-hash.t index a9caeb74a9..94363950b1 100644 --- a/t/benchmark/rt26188-speed-up-keys-on-empty-hash.t +++ b/t/benchmark/rt26188-speed-up-keys-on-empty-hash.t @@ -1,6 +1,7 @@ #!/usr/bin/perl -w use strict; use Benchmark; +chdir 't' if -d 't'; require './test.pl'; plan(tests => 6); |