Hi!
> > A bit more documentation how to setup these would not harm. Do we have a
> > document that describes this?
> 
> Yes, there's a file which describes them, 'testcases/network/stress/README'.

Ok, looks good. What about we add this path in a comment to the script
with the settings?

> > Moreover we may want to create a script to query interface IP and HWaddr
> > (and possibly others we may need) because ifconfig is deprecated and
> > some distros does not install it by default. If we move it to a library
> > we may write a code to use either ifconfig of ip depending on what is
> > available.
> 
> Yes, e.g. many tests setting ipv4 and ipv6 addresses which can also be 
> moved to the library. Anyway, do you mean test-case library 
> 'test_net.sh'? If yes we will require setting TCID, ... variables in 
> configuration scripts, perhaps we can use "net_config" or other names 
> for ID. Will it be OK?

Yes, test_net.sh sounds like a good place for such functions.

Hmm, all the configuration and library scripts are in the end sourced to
some testcase which defines TCID and TST_TOTAL, or do I miss something?

> Most network tests use both 'ip' and 'ifconfig', so if we don't have one 
> of them, most tests will be broken. I would stay with 'ip' and try to 
> not using 'ifconfig'. What do you think?

Agreed.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to