From: Thomas Graf <tgraf@suug.ch>
To: jamal <hadi@cyberus.ca>
Cc: Patrick McHardy <kaber@trash.net>,
"David S. Miller" <davem@davemloft.net>,
netdev@oss.sgi.com
Subject: Re: [PATCH] PKT_SCHED: Provide compat policer stats in action policer
Date: Wed, 15 Dec 2004 16:22:52 +0100 [thread overview]
Message-ID: <20041215152252.GM8493@postel.suug.ch> (raw)
In-Reply-To: <1103119774.1077.74.camel@jzny.localdomain>
* jamal <1103119774.1077.74.camel@jzny.localdomain> 2004-12-15 09:09
>
> Hopefully this makes my point to Patrick earlier about regression
> testing? ;-> Good effort Thomas.
I generally agree with you but I also understand patrick's point. The
testsuite doesn't replace manual testing for explict changes but rather
helps to catch the easly forgotten cases.
I made some significant changes to the testsuite and I'm still adding
lots of tests. I already found a few minor bugs such as unhandled policer
results, unhandled error cases in action configuration which I will
push patches for once 2.6.10 is out.
The architecture currently looks like this:
qdisc specific and generic tests
foreach classful-qdisc
classifier specific and generic tests
foreach classifier
action/policer/indev tests
generic tests include:
- add,dump,delete,add,delete basic tests
- stress tests (adding/dumping/deleting a few hundred objects)
- statistics tests
So for example indev is tested K*I*N*M times where K is the number of
kernels available in my testing enviroment, I is the number of
iproute2 versions, N is the number of classful qdiscs and M is the
number of classifiers supporting indev. This helps to catch bugs
specific to a certain module and can be used to check consistency
between various iproute2 modules.
/proc/conf.gz gets splitted up and is provided to the test scripts
as enviroment variables so they can easly check if the kernel is
capable of for example indev and if not check if it properly returns
an error code.
I will publish the latest testsuite as soon as I've finished writing
the most urgent tests.
next prev parent reply other threads:[~2004-12-15 15:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 13:01 [PATCH] PKT_SCHED: Provide compat policer stats in action policer Thomas Graf
2004-12-15 14:09 ` jamal
2004-12-15 15:22 ` Thomas Graf [this message]
2004-12-15 15:42 ` Patrick McHardy
2004-12-19 19:24 ` jamal
2004-12-20 10:17 ` Patrick McHardy
2004-12-20 14:03 ` Thomas Graf
2004-12-20 14:32 ` jamal
2004-12-20 14:27 ` jamal
2004-12-21 0:16 ` Thomas Graf
2004-12-22 13:10 ` jamal
2004-12-22 13:32 ` Thomas Graf
2004-12-22 13:54 ` jamal
2004-12-21 10:11 ` Patrick McHardy
2004-12-20 23:51 ` David S. Miller
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=20041215152252.GM8493@postel.suug.ch \
--to=tgraf@suug.ch \
--cc=davem@davemloft.net \
--cc=hadi@cyberus.ca \
--cc=kaber@trash.net \
--cc=netdev@oss.sgi.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;
as well as URLs for NNTP newsgroup(s).