summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-10-09 15:32:29 +0000
committerSteve Peters <steve@fisharerojo.org>2005-10-09 15:32:29 +0000
commitc0888b2172d1f2ba9efb15c34b86c07026be9abe (patch)
tree2908b6de9c48457ffcca03d3cfa5aec5e05d7505
parent845d7e37127991657355cc3e4fd6b4d012f8f30d (diff)
downloadperl-c0888b2172d1f2ba9efb15c34b86c07026be9abe.tar.gz
Add standard core test header to Test::Builder::Tester tests.
p4raw-id: //depot/perl@25719
-rw-r--r--lib/Test/Simple/t/tbt_01basic.t7
-rw-r--r--lib/Test/Simple/t/tbt_02fhrestore.t7
-rw-r--r--lib/Test/Simple/t/tbt_03die.t7
-rw-r--r--lib/Test/Simple/t/tbt_04line_num.t7
-rw-r--r--lib/Test/Simple/t/tbt_05faildiag.t7
-rw-r--r--lib/Test/Simple/t/tbt_06errormess.t7
-rw-r--r--lib/Test/Simple/t/tbt_07args.t7
7 files changed, 49 insertions, 0 deletions
diff --git a/lib/Test/Simple/t/tbt_01basic.t b/lib/Test/Simple/t/tbt_01basic.t
index 769a1c4729..9e235760f9 100644
--- a/lib/Test/Simple/t/tbt_01basic.t
+++ b/lib/Test/Simple/t/tbt_01basic.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
use Test::Builder::Tester tests => 9;
use Test::More;
diff --git a/lib/Test/Simple/t/tbt_02fhrestore.t b/lib/Test/Simple/t/tbt_02fhrestore.t
index e37357171b..a9cf36edf2 100644
--- a/lib/Test/Simple/t/tbt_02fhrestore.t
+++ b/lib/Test/Simple/t/tbt_02fhrestore.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
use Test::Builder::Tester tests => 4;
use Test::More;
use Symbol;
diff --git a/lib/Test/Simple/t/tbt_03die.t b/lib/Test/Simple/t/tbt_03die.t
index b9dba801eb..ad40ac49fe 100644
--- a/lib/Test/Simple/t/tbt_03die.t
+++ b/lib/Test/Simple/t/tbt_03die.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
use Test::Builder::Tester tests => 1;
use Test::More;
diff --git a/lib/Test/Simple/t/tbt_04line_num.t b/lib/Test/Simple/t/tbt_04line_num.t
index 9e8365acbf..b2dcd1d10e 100644
--- a/lib/Test/Simple/t/tbt_04line_num.t
+++ b/lib/Test/Simple/t/tbt_04line_num.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
use Test::More tests => 3;
use Test::Builder::Tester;
diff --git a/lib/Test/Simple/t/tbt_05faildiag.t b/lib/Test/Simple/t/tbt_05faildiag.t
index 59ad721240..0ae875a321 100644
--- a/lib/Test/Simple/t/tbt_05faildiag.t
+++ b/lib/Test/Simple/t/tbt_05faildiag.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
use Test::Builder::Tester tests => 5;
use Test::More;
diff --git a/lib/Test/Simple/t/tbt_06errormess.t b/lib/Test/Simple/t/tbt_06errormess.t
index ed8ebf52cc..e7625ea818 100644
--- a/lib/Test/Simple/t/tbt_06errormess.t
+++ b/lib/Test/Simple/t/tbt_06errormess.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl -w
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
use Test::More tests => 8;
use Symbol;
use Test::Builder;
diff --git a/lib/Test/Simple/t/tbt_07args.t b/lib/Test/Simple/t/tbt_07args.t
index 846a21e98d..8e802348b0 100644
--- a/lib/Test/Simple/t/tbt_07args.t
+++ b/lib/Test/Simple/t/tbt_07args.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl -w
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
use Test::More tests => 18;
use Symbol;
use Test::Builder;