Hi Ondrej,
Thanks again for your reply!
I've made all the existing recipes running smoothly except the vlan one. I attached my
version within this mail and hopefully you can help me to figure out what's wrong in
my case.
BTW, I noticed that I have to do some modification to make the following link's test
cases
"https://fedorahosted.org/lnst/wiki/Tests"
to work in my environment successfully.
It may because of the version I am using (lnst-0.1 devel) . But I suggest that the lnst
developers to put some words on the webpage to mention that which version of lnst that
those recipes should work on.
Thanks and looking forward to hearing from you!
Xing
Date: Wed, 26 Jun 2013 10:46:01 +0200
From: olichtne(a)redhat.com
To: dymfangxing(a)hotmail.com
CC: lnst-developers(a)lists.fedorahosted.org
Subject: Re: can lnst be used on Linux distributions other that Fedora 18?
Hi,
unfortunately we currently don't have a test case library that you could
readily use, what you see on the wiki page, and what comes in the
tarball/package is pretty much all that we have at the moment.
There are a few more recipes in the git repository, but those are mostly
directed at lnst regression testing. Additionaly the format is different
and there is no documentation for it yet.
The best plan of action for you is therefore trying to write your own
tests (and possibly sharing them with us), we will be happy to assist
you if you encounter any problems.
Step-by-step guide to creating a recipe from scratch is here:
https://fedorahosted.org/lnst/wiki/Documentation/Recipes
Creating a custom test case will probably require to either use a lot of
exec commands[1], use a custom tool[2] or create a custom test module[3], you can
find information on these here:
[1]
https://fedorahosted.org/lnst/wiki/Documentation/RecipeXMLFormatReference...
[2]
https://fedorahosted.org/lnst/wiki/Documentation/TestTools
[3]
https://fedorahosted.org/lnst/wiki/Documentation/TestModules
We are planning on extending our recipe library in the future, after we
add support for NetworkManager and stabilize lnst.
-Ondrej
On Tue, Jun 25, 2013 at 12:11:33PM +0800, FangXinglorrie wrote:
> Hi Ondrej,
> I implement all the existing test cases into my test suite for a basic network test
and they work good. Currently I am trying to see if I can get more test cases for the
network test (the current ones are not enough in my case). Basically I am looking for the
test cases which can be used to do the regression test for a gateway. I am not sure if
lnst has more of those test cases (library) for testing Fedora's network functions and
I am glad to know more about it.
> Please kindly let me know more about it. I look forward to hearing from you!
> Thanks!
> Xing