Make test error

Is there something simple I am missing?

slah001:~/3.4.1 # make test
.
.
.
.
.
.
ok 89 - Requiring 'Users.pm
ok 90 - Requiring 'Attribute.pm
ok 91 - Requiring 'CachedGroupMembers_Overlay.pm’
ok 92 - Requiring 'CustomFields_Overlay.pm’
ok 93 - Requiring ‘ObjectCustomFieldValue_Overlay.pm’
[Mon Feb 21 20:51:45 2005] [crit]: Can’t locate RT/Action/Generic.pm in @INC (@INC contains: lib /usr/local/lib/perl5/5.8.3/i686-linux /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i686-linux /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at CreateTickets.pm line 47.
(lib/RT.pm:285)
1…93

slah001:~/3.4.1 # perl -Ilib -e 'require “RT/Action/Generic.pm” or die’
slah001:~/3.4.1 #

Is there something simple I am missing?

slah001:~/3.4.1 # make test
no. make test does something weird with the auto-finding libraries. If
make regression passes, you’re set

I was trying to figure out how to fix it. @INC is set ok and
it looks like it should just work. :(On Mon, Feb 21, 2005 at 04:06:19PM -0500, Jesse Vincent wrote:

On Mon, Feb 21, 2005 at 03:20:39PM -0500, Todd Chapman wrote:

Is there something simple I am missing?

slah001:~/3.4.1 # make test
no. make test does something weird with the auto-finding libraries. If
make regression passes, you’re set

Well that was annoying. File::Find does a chdir and then
shit happens.

Optional modules can still be a problem. The workaround isn’t
the best but…

Index: lib/t/00smoke.t
— lib/t/00smoke.t (revision 2248)
+++ lib/t/00smoke.t (working copy)
@@ -7,7 +7,7 @@
ok(RT::Init, “Basic initialization and DB connectivity”);

use File::Find;
-File::Find::find({wanted => &wanted}, ‘lib/’);
-sub wanted { /^.pm\z/s && ok(require $, "Requiring '$’"); }
+File::Find::find({wanted => &wanted, no_chdir => 1}, ‘lib/’);
+sub wanted { /^
.pm\z/s && !/(GnuPG|SpamAssassin).pm$/ && ok(require $, "Requiring '$’"); }On Mon, Feb 21, 2005 at 04:06:19PM -0500, Jesse Vincent wrote:

On Mon, Feb 21, 2005 at 03:20:39PM -0500, Todd Chapman wrote:

Is there something simple I am missing?

slah001:~/3.4.1 # make test
no. make test does something weird with the auto-finding libraries. If
make regression passes, you’re set