[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25140: [PATCH] test: implement -N
From: |
Pádraig Brady |
Subject: |
bug#25140: [PATCH] test: implement -N |
Date: |
Thu, 8 Dec 2016 17:22:29 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 08/12/16 16:56, isabella parakiss wrote:
> test currently produces this error message with -N
> $ /bin/test -N /
> /bin/test: extra argument ‘-N’
>
> which is different from what you get with an invalid unary operator
> $ /bin/test -q /
> /bin/test: ‘-q’: unary operator expected
>
> bash's test -N is supported in test_unop, but the actual test isn't there
>
> since src/test.c and the one in bash share a common root, i thought it
> makes sense to implement it here as well
This looks good.
I'll probably mention atime in the texinfo
as that can be disabled with noatime.
Also I'll add some NEWS and a test before pushing.
thanks!
Pádraig