Skip Menu |

This queue is for tickets about the Sys-Lastlog CPAN distribution.

Report information
The Basics
Id: 71692
Status: resolved
Priority: 0/
Queue: Sys-Lastlog

People
Owner: Nobody in particular
Requestors: AYOUNG [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: test 03lastlog.t assumes root user has logged in
t/03lastlog.t assumes the root user has logged in at least once on the system. I have never logged in on my Ubuntu system as root, even at initial creation. The patch I included won't catch the same situation when someone has sudo'd to root, but in this case cpan and cpanm are running tests as the user, not root.
Subject: patch
Download patch
application/octet-stream 492b

Message body not shown because it is not plain text.

On Fri Oct 14 20:48:43 2011, AYOUNG wrote: Show quoted text
> t/03lastlog.t assumes the root user has logged in at least once on the > system. > > I have never logged in on my Ubuntu system as root, even at initial > creation. > > The patch I included won't catch the same situation when someone has > sudo'd to root, but in this case cpan and cpanm are running tests as the > user, not root.
Thanks, the is a similar change in the latest release.