public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Alexey Kodanev <alexey.kodanev@oracle.com>
Cc: vasily.isaenko@oracle.com, ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH v2 1/3] network/test_net: add support for -6 option (IPv6 tests)
Date: Tue, 2 Dec 2014 17:56:45 +0100	[thread overview]
Message-ID: <20141202165645.GD22135@rei.suse.de> (raw)
In-Reply-To: <5448D65C.90308@oracle.com>

Hi!
> > +# Blank for an IPV4 test; 6 for an IPV6 test.
> > +TST_IPV6=
> > +
> > +tst_read_opts()
> > +{
> > +	OPTIND=0
> > +	while getopts ":6" opt; do
> > +		case "$opt" in
> > +		6)
> > +			TST_IPV6=6;;
> > +		esac
> > +	done
> > +	OPTIND=0
> > +}
> 
> Maybe we can run the function inside test_net.sh as well. Any suggestions?

It makes sense in case that all the testcases that include the file will
run it anyway.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2014-12-02 16:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 11:41 [LTP] [PATCH v2 1/3] network/test_net: add support for -6 option (IPv6 tests) Alexey Kodanev
2014-10-22 11:41 ` [LTP] [PATCH v3 2/3] network/test_net: add tst_ipaddr Alexey Kodanev
2014-10-22 11:41 ` [LTP] [PATCH v2 3/3] network/test_net: add tst_init_iface() and tst_set_ipaddr() Alexey Kodanev
2014-10-22 11:41 ` [LTP] [PATCH] network/tcp_fastopen: add support for IPv6 Alexey Kodanev
2014-10-23 10:20 ` [LTP] [PATCH v2 1/3] network/test_net: add support for -6 option (IPv6 tests) Alexey Kodanev
2014-12-02 16:56   ` Cyril Hrubis [this message]
2014-12-02 16:54 ` Cyril Hrubis

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=20141202165645.GD22135@rei.suse.de \
    --to=chrubis@suse.cz \
    --cc=alexey.kodanev@oracle.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