summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-11 14:09:02 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-11 14:10:21 +0100
commit794ae82d17ef6f7770c42b070af5c40bc4bf19cb (patch)
treed1c55ba0b17284b24ea2133e710c1c213f6972cc
parentd9d68dec8f4679ec61ddeb6bf83d123cec91a9f7 (diff)
downloadperl-794ae82d17ef6f7770c42b070af5c40bc4bf19cb.tar.gz
Remove core @INC setting and chdir boilerplate from Thread::Semaphore's tests.
-rw-r--r--dist/Thread-Semaphore/t/01_basic.t4
-rw-r--r--dist/Thread-Semaphore/t/02_errs.t7
-rw-r--r--dist/Thread-Semaphore/t/03_nothreads.t7
3 files changed, 0 insertions, 18 deletions
diff --git a/dist/Thread-Semaphore/t/01_basic.t b/dist/Thread-Semaphore/t/01_basic.t
index 06fc2b24fd..c5670bd87f 100644
--- a/dist/Thread-Semaphore/t/01_basic.t
+++ b/dist/Thread-Semaphore/t/01_basic.t
@@ -2,10 +2,6 @@ use strict;
use warnings;
BEGIN {
- if ($ENV{'PERL_CORE'}){
- chdir('t');
- unshift(@INC, '../lib');
- }
use Config;
if (! $Config{'useithreads'}) {
print("1..0 # SKIP Perl not compiled with 'useithreads'\n");
diff --git a/dist/Thread-Semaphore/t/02_errs.t b/dist/Thread-Semaphore/t/02_errs.t
index 06f0b937ee..45b0aa932a 100644
--- a/dist/Thread-Semaphore/t/02_errs.t
+++ b/dist/Thread-Semaphore/t/02_errs.t
@@ -1,13 +1,6 @@
use strict;
use warnings;
-BEGIN {
- if ($ENV{'PERL_CORE'}){
- chdir('t');
- unshift(@INC, '../lib');
- }
-}
-
use Thread::Semaphore;
use Test::More 'tests' => 12;
diff --git a/dist/Thread-Semaphore/t/03_nothreads.t b/dist/Thread-Semaphore/t/03_nothreads.t
index 58bcb04987..f0454be917 100644
--- a/dist/Thread-Semaphore/t/03_nothreads.t
+++ b/dist/Thread-Semaphore/t/03_nothreads.t
@@ -1,13 +1,6 @@
use strict;
use warnings;
-BEGIN {
- if ($ENV{'PERL_CORE'}){
- chdir('t');
- unshift(@INC, '../lib');
- }
-}
-
use Test::More 'tests' => 4;
use Thread::Semaphore;