Tue May 24 16:41:47 2005corion [...] cpan.org - Ticket created
Date:
Tue, 24 May 2005 21:59:39 +0200
From:
Max Maischein <corion [...] cpan.org>
To:
bug-Sudo [...] rt.cpan.org
Subject:
Sudo test suite enters infinite loop when run unattended
Hello,
please, please, do not use interactive tests. Your test suite dives into
an infinite loop if it is run unattended and no sudo program is to be found.
As a second thing, you might want to use the prompt() routine of
ExtUtils instead of rolling your own version, because that one handles
user input and defaults pretty well.
Thanks,
-max
Tue May 24 16:55:29 2005LANDMAN [...] cpan.org - Correspondence added
Due to the nature of Sudo, an interactive test suite is the only
possible method for "make test" to verify functionality. Sudo itself
does not come with a default user setup in most cases, and minimal
functionality enabled. Significant effort needs to be made on the part
of end users to use Sudo, and to enable basic usage.
I will look into the infinite loop with regards to not finding the sudo
binary.
Could you provide more details on your build environment? Where is your
sudo located? Do you have a test user set up to enable running id (this
is the single test that "make test" performs in terms of overall
functionality).
Fri May 27 11:49:12 2005LANDMAN [...] cpan.org - Status changed from 'new' to 'resolved'