On Fri, Sep 30, 2011 at 10:57 AM, Andrew Schulman wrote:
>>  I didn't check the application's functionality.
>
> Right.  Unfortunately there's no fast or easy way to do that.  You have to 
> run a
> command that takes longer than your idle sleep timer, for example, and check
> that the machine doesn't go to sleep.  I have done that and verified that each
> of the options works as described, at least on my Windows 7 laptop.  But as I
> describe in the man page, it's just hard to completely stop a host from going 
> to
> sleep, so it's always going to be hard to completely test that nosleep is
> working as intended.

> Maybe in time I can develop a proper test suite, but it will always be a bit
> labor-intensive.

I would like to see a test with simple command lines without checking
the nosleep behavior. Just to check if can correctly pass the command
with options with proper quoting.
-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

Reply via email to