Thanks Rajeev, that helps, but i dont know how to use modules coming with autotest, for example, i know how to remove file and then regenerate it. .. but how can i accommodate it with autotest .py file ? for example which functions i need to call.
and again how i will use modules available with autotest to get nameservers from resolv.conf and write some regex to verfiy that contents are prefect ? I am sorry this might be silly question for you but i am bit confused and not getting start .. may be bcz i am not from programming backgournd :) do you mind helping to write small example .. Regards DJ On Sun, Oct 27, 2013 at 2:53 PM, Rajeev S <[email protected]> wrote: > Hi, > > There is not a combined package for system admin as you have asked,however > you can pick and run tests that suit you,for example the > client/tests/ipv6connect. > > You can write your own test cases for your purposes.The basic functioning > can be verified/understood by referring to the client/tests/sleeptest test > case. > > A basic Idea of python must be sufficient to write your own test cases,as > most of the packaged test cases have a predefined structure,and you can > just mimic it. > > An example test case would be resolv.conf.the test case can look something > like this > > - backup resolv.conf and delete it > - restart the networking service > - verify whether the resolv.conf has been populated with valid name servers > > > > On Sun, Oct 27, 2013 at 11:25 AM, Unix SA <[email protected]> wrote: > >> Hello team, >> >> i have started using autotest first time, and just started learning >> python as well, i am not expert yet .. >> >> I want to use Autotest for system admin purpose for example, after i >> build server i want to run some tests for ex .. check /etc/resolv.conf, >> sshd_config for certain settings .. or some package versions .. some >> functionality ... >> >> can you give me some example if someone already developed which can help >> system admin ? .. i saw client/tests .. but still i am starting with >> python so understanding it will i guess take some time for me .. some >> examples will really help. >> >> Thanks, >> DJ >> >> _______________________________________________ >> Autotest-kernel mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/autotest-kernel >> > > > > -- > *Regards, > Rajeev S* > *B Tech CSE Student* > *Government Engineering College,Thrissur* > *http://rajeevs.tk* > *http://careers.stackoverflow.com/rajeevs* > *https://github.com/rajeevs1992* > -- *Regards, Rajeev S* *B Tech CSE Student* *Government Engineering College,Thrissur* *http://rajeevs.tk* *http://careers.stackoverflow.com/rajeevs* *https://github.com/rajeevs1992*
_______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
