bug#7320: [PATCH] 'id' prints incorrectly groups for the session

2014-06-26 Thread Pádraig Brady
On 06/26/2014 05:42 PM, Jim Meyering wrote: > On Thu, Jun 26, 2014 at 3:23 AM, Pádraig Brady wrote: >> -g=$(id -u $NON_ROOT_USERNAME) || framework_failure_ >> +u=$(id -u $NON_ROOT_USERNAME) || framework_failure_ >> +g=u > > This will work better :-) >g=$u It's already pushed with that amendm

bug#7320: [PATCH] 'id' prints incorrectly groups for the session

2014-06-26 Thread Jim Meyering
On Thu, Jun 26, 2014 at 3:23 AM, Pádraig Brady wrote: > -g=$(id -u $NON_ROOT_USERNAME) || framework_failure_ > +u=$(id -u $NON_ROOT_USERNAME) || framework_failure_ > +g=u This will work better :-) g=$u

bug#7320: [PATCH] 'id' prints incorrectly groups for the session

2014-06-26 Thread Pádraig Brady
On 06/26/2014 06:44 AM, Bernhard Voelker wrote: > On 06/26/2014 03:53 AM, Pádraig Brady wrote: >> diff --git a/tests/id/setgid.sh b/tests/id/setgid.sh >> index aa43ea3..a81b42c 100755 >> --- a/tests/id/setgid.sh >> +++ b/tests/id/setgid.sh >> @@ -1,5 +1,5 @@ >> #!/bin/sh >> -# Verify that id -G pr