Skip Menu |

This queue is for tickets about the Sudo CPAN distribution.

Report information
The Basics
Id: 12950
Status: resolved
Priority: 0/
Queue: Sudo

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

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



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
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).