GNU bug report logs -
#23222
test: incorrect operator-precedence
Previous Next
Reported by: Mattias Andrée <maandree <at> member.fsf.org>
Date: Tue, 5 Apr 2016 14:56:01 UTC
Severity: normal
Tags: confirmed, fixed
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 23222 <at> debbugs.gnu.org (full text, mbox):
tags 23222 fixed
close 23222
stop
On 2016-04-05 9:09 a.m., Eric Blake wrote:
> tag 23222 confirmed
> thanks
>
> On 04/05/2016 05:57 AM, Mattias Andrée wrote:
>> Failing test-case #1:
>>
>> ./test -n -a -n
>>
>> fails and outputs
>>
>> ./test: extra argument ‘-n’
>>
>> Expected behaviour is silent success, as seen in
>> Bash's implementation.
>
> Thanks for the report. POSIX indeed says that -a is a binary primary,
> and also says that
With this recent commit:
test: remove support for the ambigous -a unary operator
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=88c32fa68ee7057744bfb6d41f6e8eb68801306f
test(1) no longer accepts unary "-a".
Closing this item as "fixed".
-assaf
This bug report was last modified 6 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.