summaryrefslogtreecommitdiff
path: root/t/benchmark
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/benchmark
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/benchmark')
-rw-r--r--t/benchmark/rt26188-speed-up-keys-on-empty-hash.t1
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);