In perl.git, the branch smoke-me/pwent.t has been created
<http://perl5.git.perl.org/perl.git/commitdiff/f8456aec1e04f1e4e8c9ecdece8fb9ab2084d420?hp=0000000000000000000000000000000000000000>
at f8456aec1e04f1e4e8c9ecdece8fb9ab2084d420 (commit)
- Log -----------------------------------------------------------------
commit f8456aec1e04f1e4e8c9ecdece8fb9ab2084d420
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 11 15:00:31 2011 +0000
Move pwent.t's test for NIS+ earlier, before the "fallback" of /etc/passwd
This seems a more logical place for it, on the assumptions that
a: only 1 of the 4 programs tried will produce results
b: Reading from /etc/passwd is intended as a fallback if none produce
results.
M t/op/pwent.t
commit 0d1c009f4a17fb80e6ef742907b134b27448562a
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 11 14:52:44 2011 +0000
In t/op/pwent.t, create try_prog() for the common 'try this command' logic.
Also refactor the clearing of $reason, without changing the behaviour of
when
it is cleared (which is slightly less than logical.)
M t/op/pwent.t
-----------------------------------------------------------------------
--
Perl5 Master Repository