On 2015/6/25 13:41, Cui Bixuan wrote:
> On 2015/6/16 1:13, Alexey Kodanev wrote:
>> Hi!
>> On 06/12/2015 09:06 AM, Cui Bixuan wrote:
>>> On 2015/6/9 21:33, Cyril Hrubis wrote:
>>>> Hi!
>>>> I would rather see these being added one test per file with some shared
>>>> code in sourced library.
>>>>
>>>> If there is a simple script that executes a lot of testcases it harder
>>>> to debug and the results are binary (FAIL/PASS for a group of test)
>>>> instead of actual testcases.
>>>>
>>> Hi,
>>> Thank you for your reply. I resend patches to cleanup the iptables
>>> testcase and add some testcases for it.
>>> But I don't have good idea for adding one test per file
>>> with some shared code :-( . Hope someone give some advice for me.
>>
>> Probably you could do the following steps:
>> 1. rename the existed iptables_tests.sh to iptables01.sh, don't forget to 
>> update runtests/ with the new test name;
>> 2. extract common code from iptables01.sh to iptables_lib.sh (cleanup/change 
>> or add new code there), and source the new lib in iptables01.sh;
>> 3. Then add your new test-cases to iptables02.sh and source iptables_lib.sh 
>> as well.
>>
>> Please look at 'network/dhcp' tests as an example.
>>
> Thank you for your advice. :-)
Hi,
First,say sorry to you. this month, I will busy with my work and maybe can't 
send patches to cleanup iptables testcases and add
new testcases for it :-(. If someone is interested in this, can send patches. I 
will be very grateful to you.


Thanks
Cui Bixuan
> 
>> Thanks,
>> Alexey
>>
>>
>>
> 


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to