Add the original source packages to maemo, source lenny
[dh-make-perl] / dev / i386 / libtest-simple-perl / libtest-simple-perl-0.80 / t / filehandles.t
diff --git a/dev/i386/libtest-simple-perl/libtest-simple-perl-0.80/t/filehandles.t b/dev/i386/libtest-simple-perl/libtest-simple-perl-0.80/t/filehandles.t
new file mode 100644 (file)
index 0000000..f7dad5d
--- /dev/null
@@ -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';
+