findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Findutils-patches] Re: [PATCH 2/3] Fix false positives for syntax check


From: Eric Blake
Subject: [Findutils-patches] Re: [PATCH 2/3] Fix false positives for syntax check sc_prohibit_test_minus_ao.
Date: Mon, 12 Apr 2010 10:17:57 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b1 Thunderbird/3.0.4

On 04/11/2010 04:35 AM, James Youngman wrote:
> * .x-sc_prohibit_test_minus_ao: Add all the DejaGnu scripts to the
> list of exceptions to the 'test C1 -a C2' syntax check, since they
> are not actually shell scripts.
> 
> Signed-off-by: James Youngman <address@hidden>
> ---
>  .x-sc_prohibit_test_minus_ao |  234 
> ++++++++++++++++++++++++++++++++++++++++++
>  ChangeLog                    |    5 +
>  2 files changed, 239 insertions(+), 0 deletions(-)
>  create mode 100644 .x-sc_prohibit_test_minus_ao
> 
> diff --git a/.x-sc_prohibit_test_minus_ao b/.x-sc_prohibit_test_minus_ao
> new file mode 100644
> index 0000000..e079845
> --- /dev/null
> +++ b/.x-sc_prohibit_test_minus_ao
> @@ -0,0 +1,234 @@
> +find/testsuite/find.gnu/access.exp

Each .x-sc* file is passed as an argument to grep -vEf, so you can use
regular expressions to not only condense the list, but to also make
adding future tests have one less place to touch:

find/testsuite/find.gnu/.*exp

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]