[Rt-devel] lib/t/00smoke.t can break

Kevin Falcone falcone at bestpractical.com
Mon May 14 10:17:15 EDT 2007


On May 14, 2007, at 8:51 AM, Nicholas Clark wrote:
> Others may not see this failure, depending on the order that  
> File::Find returns
> results.
>
> Also, how come make test only runs this test?

in 3.6 you want make regression or make regression-noapache (you'll  
probably
also need to sudo because it wants to bind port 80).

There has been a lot of work on the 3.7 branches to make 'make test'  
work
with a lot less hassle

-kevin

>
> Nicholas Clark
>
> --- ../3.6-RELEASE/lib/t/00smoke.t	Mon May 14 10:30:45 2007
> +++ lib/t/00smoke.t	Mon May 14 12:41:33 2007
> @@ -7,7 +7,7 @@
>  ok(RT::Init, "Basic initialization and DB connectivity");
>
>  use File::Find;
> -File::Find::find({wanted => \&wanted}, 'lib/');
> +File::Find::find({wanted => \&wanted, no_chdir => 1}, 'lib/');
>  sub wanted { /^*\.pm\z/s && ok(require $_, "Requiring '$_'"); }
>
>
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/ 
> rt-devel



More information about the Rt-devel mailing list