summaryrefslogtreecommitdiff
path: root/cpan/Test-Simple/t/filehandles.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Test-Simple/t/filehandles.t')
-rw-r--r--cpan/Test-Simple/t/filehandles.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpan/Test-Simple/t/filehandles.t b/cpan/Test-Simple/t/filehandles.t
new file mode 100644
index 0000000000..f7dad5d7ea
--- /dev/null
+++ b/cpan/Test-Simple/t/filehandles.t
@@ -0,0 +1,18 @@
+#!perl -w
+
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = ('../lib', 'lib');
+ }
+}
+
+use lib 't/lib';
+use Test::More tests => 1;
+use Dev::Null;
+
+tie *STDOUT, "Dev::Null" or die $!;
+
+print "not ok 1\n"; # this should not print.
+pass 'STDOUT can be mucked with';
+