In perl.git, the branch smoke-me/pwent.t has been created
<http://perl5.git.perl.org/perl.git/commitdiff/b1475a80e251cf637f92f035d999162ed30b08f8?hp=0000000000000000000000000000000000000000>
at b1475a80e251cf637f92f035d999162ed30b08f8 (commit)
- Log -----------------------------------------------------------------
commit b1475a80e251cf637f92f035d999162ed30b08f8
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 0fc31efebb1612bbbeb1d835953a38d7227d6d2b
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