From: Alexey Kodanev <alexey.kodanev@oracle.com>
To: Hangbin Liu <liuhangbin@gmail.com>
Cc: vasily.isaenko@oracle.com, ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 1/3] network/test_net: add support for -6 option (IPv6 tests)
Date: Wed, 15 Oct 2014 14:10:17 +0400 [thread overview]
Message-ID: <543E4809.4000709@oracle.com> (raw)
In-Reply-To: <20141009132453.GI24933@Leo.nay.redhat.com>
Hi,
On 10/09/2014 05:24 PM, Hangbin Liu wrote:
> Ah, find your patch here :)
>
> Just as you said, net_cmdlib.sh source cmdlib.sh, so how about do it like
> test.sh, add a global variable $CMD_LIB_LOADED in cmdlib.sh and add
>
> [ -z "$CMD_LIB_LOADED" ] && . cmdlib.sh
>
> in test_net.sh ?
No, we shouldn't use obsolete 'cmdlib.sh' and new 'test.sh' together.
> For function read_opts(), I greped ltp and only found tests under tcp_cmds use
> it. So I think it's OK to change all net_cmdlib.sh directly. But as your wish,
> you can send it separately, not a big deal.
It's preferably to additionally replace outdated interface with the new
one when tests need some fixes. Inevitably, the tests become fixed and
easy to support in the future, confirm with the latest suite standards
(e.g. test output, return exit codes).
That's why when I said that patches should be sent separately I also
meant the replacement of cmdlib.sh as well. Otherwise I don't see any
reason to replace just read_opts with identical one from another file.
Thanks,
Alexey
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2014-10-15 10:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 11:57 [LTP] [PATCH 1/3] network/test_net: add support for -6 option (IPv6 tests) Alexey Kodanev
2014-10-08 11:57 ` [LTP] [PATCH v2 2/3] network/test_net: add tst_ipaddr Alexey Kodanev
2014-10-08 11:57 ` [LTP] [PATCH 3/3] network/test_net: add tst_init_iface() and tst_set_ipaddr() Alexey Kodanev
2014-10-09 13:24 ` [LTP] [PATCH 1/3] network/test_net: add support for -6 option (IPv6 tests) Hangbin Liu
2014-10-15 10:10 ` Alexey Kodanev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543E4809.4000709@oracle.com \
--to=alexey.kodanev@oracle.com \
--cc=liuhangbin@gmail.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=vasily.isaenko@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox