Include necessary modules to make comments.t work.
Patch by szabgab.
diffs (22 lines):
diff -r 73a31b05bfbf -r 3bf06c9b1901 cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl Tue Sep 01 05:14:21 2009 +0000
+++ b/cgi-bin/ljprotocol.pl Tue Sep 01 17:26:04 2009 +0000
@@ -24,6 +24,7 @@ use lib "$LJ::HOME/cgi-bin";
require "taglib.pl";
require "ljfeed.pl";
+use LJ::EmbedModule;
#### New interface (meta handler) ... other handlers should call into this.
package LJ::Protocol;
diff -r 73a31b05bfbf -r 3bf06c9b1901 t/comment.t
--- a/t/comment.t Tue Sep 01 05:14:21 2009 +0000
+++ b/t/comment.t Tue Sep 01 17:26:04 2009 +0000
@@ -8,6 +8,7 @@ require 'ljprotocol.pl';
require 'ljprotocol.pl';
use LJ::Comment;
use LJ::Test qw(memcache_stress temp_user);
+use POSIX ();
my $u = temp_user();
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog