summaryrefslogtreecommitdiffstats
path: root/libs
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-272-4/+9
| | | | | | | 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>
* Changing the function assert_success and assert_failure in atfutils to take ↵Shwetha-H-Panduranga2011-12-214-35/+41
| | | | 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
* 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)
* 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-133-17/+36
| | | | counts
* Changes to logger class, Using the logger class in the framework, adding new ↵Shwetha-H-Panduranga2011-12-1211-287/+311
| | | | 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
* Renaming DirectoriesShwetha-H-Panduranga2011-12-0713-0/+2660