GNU bug report logs - #16532
Test Fail: "tests/chown/separator"

Previous Next

Package: coreutils;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Thu, 23 Jan 2014 18:42:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, Pádraig Brady <P <at> draigBrady.com>
Cc: 16532 <at> debbugs.gnu.org
Subject: bug#16532: Test Fail: "tests/chown/separator"
Date: Fri, 24 Jan 2014 11:58:46 -0500
[Message part 1 (text/plain, inline)]
On 01/24/2014 07:46 AM, Bernhard Voelker wrote:
>>> On 01/24/2014 04:09 AM, Pádraig Brady wrote:
>>>> Oh right, grep ^$id_gn: it is so.
>
> BTW: I'd change the skip_ message to reflect the above mentioned
> corner case where getent is not available, something like:
>
> -  skip_ "multiple IDs for group '$id_gn': $(getent group "$id_gn")"
> +  skip_ "group '$id_gn' not biunique: $(getent group | grep "^$id_gn:")"
>

Attached is an updated version, using grep and the suggested error message.
On addition is a "tr '\n' ','" - because "skip" only shows the first 
line of the message, and so multiple groups and not displayed.

-gordon

[chown-dup-group.patch (text/x-patch, attachment)]

This bug report was last modified 11 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.