Re: [PATCH] test-userspec: don't lookup numeric user names

2014-07-18 Thread Jim Meyering
On Fri, Jul 18, 2014 at 3:35 PM, Pádraig Brady wrote: > On 07/18/2014 10:42 PM, Jim Meyering wrote: >> From: Jim Meyering >> >> * tests/test-userspec.c: I found a system for which getpwnam("0") >> returned a pointer to a non-root user's entry, and that made the >> test fail. >> (T): Prefix each n

Re: [PATCH] test-userspec: don't lookup numeric user names

2014-07-18 Thread Pádraig Brady
On 07/18/2014 10:42 PM, Jim Meyering wrote: > From: Jim Meyering > > * tests/test-userspec.c: I found a system for which getpwnam("0") > returned a pointer to a non-root user's entry, and that made the > test fail. > (T): Prefix each numeric input with "+", to inhibit lookup. Looks good. thanks

[PATCH] test-userspec: don't lookup numeric user names

2014-07-18 Thread Jim Meyering
From: Jim Meyering * tests/test-userspec.c: I found a system for which getpwnam("0") returned a pointer to a non-root user's entry, and that made the test fail. (T): Prefix each numeric input with "+", to inhibit lookup. --- ChangeLog | 8 tests/test-userspec.c | 38 +++