summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* library functions: remove-brick, quota, profileVijaykumar2012-01-192-126/+366
| | | | | | | | top, log rotate, replace-brick and testenv function (removeBricksFromVolume). Change-Id: I6593f831e5002bd077eee0ce8bf6a8c5aca18ba5 Signed-off-by: Vijaykumar <vkoppad@redhat.com>
* Adding new function get_active_volume to get the information about the ↵Shwetha-H-Panduranga2012-01-191-2/+11
| | | | | | | active volume i.e the volume under test Change-Id: I90135f932ae56680e8dd66af1b80214c3e4b8106 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* validate stderr stream also. This is useful for performing negative testingShwetha-H-Panduranga2012-01-041-11/+18
| | | | | Change-Id: I13c77926a4046b3aa729a006840453d69dc81c14 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* return 'output' dictionary from serverutils.execute_on_brick and ↵Shwetha-H-Panduranga2011-12-273-10/+15
| | | | | | | clientutils.execute_on_mount. This is to help the scripts for matching output expressions after the execution of command. Reflecting the same changes in cli/volume/top/testcases Change-Id: I5ce9d0141f6171dad2d3a17512f0264b9af5beb3 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Added COPYING and CONTRIBUTING filesAmar Tumballi2011-12-223-1/+700
| | | | | Change-Id: I757b7dcab5707e87bfc5d1b2a12e04b6276e6d3f Signed-off-by: Amar Tumballi <amar@gluster.com>
* Adding rfc.shVijay Bellur2011-12-221-0/+107
| | | | Signed-off-by: Vijay Bellur <vijay@gluster.com>
* Modifying the comment for testcaseslist for cli/volume/topShwetha-H-Panduranga2011-12-211-1/+1
|
* removing the statement 'import clitestsutils'. There is no module by name ↵Shwetha-H-Panduranga2011-12-211-1/+0
| | | | clitestsutils. The functions necessary for cli tests has been implemented in the existing utils
* Changing the function assert_success and assert_failure in atfutils to take ↵Shwetha-H-Panduranga2011-12-215-37/+43
| | | | exit_status as argument. Hence refelecting the changes in all files which used the functions
* Adding new function validate_output to check whether expected_exit_status ↵Shwetha-H-Panduranga2011-12-211-0/+29
| | | | and the expected_output matches with the output we got rfom the execution of command
* Adding new argument 'operation' for the function volume_replacebrick to ↵Shwetha-H-Panduranga2011-12-211-5/+5
| | | | specify what operation to be performed
* Adding testenv.cfg file to cli/volume/top testunitShwetha-H-Panduranga2011-12-201-0/+86
|
* Automating Bug2645, Bug2771, Bug2725Shwetha-H-Panduranga2011-12-203-0/+346
|
* The hostutils.execute_command now returns output(type dict). Hence ↵Shwetha-H-Panduranga2011-12-202-4/+4
| | | | reflecting changes in clientutils, serverutils
* Changes made to '_substitute_value_for_variables' function. The function now ↵Shwetha-H-Panduranga2011-12-201-37/+56
| | | | handles substitution of variable values. (Ex:- <volume1.volumename> replaces volumename of volume1. The variable value is the value defined in testenv.cfg for that testunit). The function returns commands wiith values substituted for variables. The function 'execute_command' now returns 'output'(dictionary output from ssh.executecommand)
* We are using 'img' python module in atfexecute for loading the testunit ↵Shwetha-H-Panduranga2011-12-201-0/+1
| | | | module for every 'TestUnit'(Ex:- testunit.py in xlators/cluster/afr/self_heal/), we have to reload the testcases module in every testunit module for reloading the testcases module for that unit. Else it will be referring to first import of testcases module
* log variable doesn't exists. The variable we should be referring is ↵Shwetha-H-Panduranga2011-12-201-1/+1
| | | | 'self._handlers' not 'log'.
* Error in referring to the variable. The variable should be ↵Shwetha-H-Panduranga2011-12-201-3/+2
| | | | testcase['version'] not testcaseid['version']
* Adding function 'expect' to atfutils. This function searches for ↵Shwetha-H-Panduranga2011-12-201-0/+16
| | | | 'actual_string' in 'expected_string'. If search successful, returns True. Else, returns False.
* Changes made to volume info. This is to support multiple 'volumetypes' and ↵Shwetha-H-Panduranga2011-12-134-20/+41
| | | | counts
* Changes to logger class, Using the logger class in the framework, adding new ↵Shwetha-H-Panduranga2011-12-1219-433/+466
| | | | global values, Changes made to argument parser, testruninfo
* Changes to logger class, Using the logger class in the framework, adding new ↵Shwetha-H-Panduranga2011-12-121-145/+61
| | | | global values, Changes made to argument parser, testruninfo
* Adding Readme, testunit fileShwetha-H-Panduranga2011-12-123-69/+217
|
* Renaming DirectoriesShwetha-H-Panduranga2011-12-074-0/+0
|
* Renaming DirectoriesShwetha-H-Panduranga2011-12-0713-0/+0
|
* Adding New/Updated Automation FilesShwetha-H-Panduranga2011-12-0623-0/+3222
|
* Removing all automation files from the repoShwetha-H-Panduranga2011-12-0641-5916/+0
|
* Adding New/Updated Automation FilesShwetha-H-Panduranga2011-12-0623-282/+3185
|
* Adding ATF(Automated Tests Framework) files. This is the code developed for POC.Shwetha-H-Panduranga2011-09-1218-0/+3012
|
* Added READMEVijay Bellur2011-08-291-0/+1