Add ARM files
[dh-make-perl] / dev / arm / libtest-simple-perl / libtest-simple-perl-0.80 / t / has_plan2.t
diff --git a/dev/arm/libtest-simple-perl/libtest-simple-perl-0.80/t/has_plan2.t b/dev/arm/libtest-simple-perl/libtest-simple-perl-0.80/t/has_plan2.t
new file mode 100644 (file)
index 0000000..e13ea4a
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/perl -w
+
+BEGIN {
+    if( $ENV{PERL_CORE} ) {
+        chdir 't';
+        @INC = '../lib';
+    }
+}
+
+use Test::More;
+
+BEGIN {
+    if( !$ENV{HARNESS_ACTIVE} && $ENV{PERL_CORE} ) {
+        plan skip_all => "Won't work with t/TEST";
+    }
+}
+
+use strict;
+use Test::Builder;
+
+plan 'no_plan';
+is(Test::Builder->new->has_plan, 'no_plan', 'has no_plan');