Re: [PATCH] tests: json: Add test cases for json format

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

 



On Wed, Aug 23, 2017 at 3:32 PM, Arturo Borrero Gonzalez
<arturo@xxxxxxxxxxxxx> wrote:
> On 22 August 2017 at 11:30, Shyam Saini <mayhs11saini@xxxxxxxxx> wrote:
>>
>> Should I send the version 2 of this patch with this script?
>>
>
> Yes,
>
> my suggestion is:
>
> * create a new testcase in nftables: tests/shell/testcases/import/yourscript_0
> * put all the json files in: tests/shell/testcases/import/json and
> read them from yourscript_0
>
> in the script use the $NFT environment variable to call nft.
>
> This way we avoid adding a new testsuite just for this and reuse existing code.

Again, Thanks a lot for the suggestions. I've sent  V2 of this patch.
:-)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux