[darcs-devel] darcs patch: When running the test suite as root we won't receive a...

Jon Olsson jon at vexed.se
Sun Aug 20 02:12:39 PDT 2006


On Sat, Aug 19, 2006 at 10:23:05PM +0200, Tommy Pettersson wrote:
> On Sun, Jul 30, 2006 at 11:22:42PM +0200, Jon Olsson wrote:
> > Sun Jul 30 23:22:19 CEST 2006  Jon Olsson <jon at vexed.se>
> >   * When running the test suite as root we won't receive a "permission denied"
> 
> When I tried this patch I got:
> 
>   pull......................ok 2/0Undefined subroutine &main::getuid called at pull.pl line 57.
>   # Looks like your test died just after 2.
>   pull......................dubious                                            
>   	Test returned status 255 (wstat 65280, 0xff00)
>   	after all the subtests completed successfully
> 
> My perl --version says:
> This is perl, v5.8.4 built for x86_64-linux-thread-multi

Alright, a 'use POSIX;' is missing. I guess that when the entire suite
is run it gets pulled in by some other file and everything is ok.

-- 
Jon




More information about the darcs-devel mailing list