summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Modifying the testcases to reflect the changes made to the return value from ↵Shwetha-H-Panduranga2012-03-051-0/+27
| | | | | | | the libraries.Adding new module for replace brick libraries Change-Id: I3a886cd799d11b948eb87dd929546bdde3561dd7 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Automating afr self-heal testcasesShwetha-H-Panduranga2012-02-081-0/+115
| | | | | Change-Id: I32af843e2c375a869f811844656dd90fac283f4d Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Changing the return value of all the libraries. The libraries will return a ↵Shwetha-H-Panduranga2012-02-066-823/+630
| | | | | | | dictionary with 'exitstatus', 'stdoutdata', 'stderrdata' as keys. The value of 'exitstatus' is the exit status of the command execution. The 'stdoutdata' contains data written to the stdout during command execution. The 'stderrdata' contains data written to stderr during command execution. Change-Id: Ib04062ab34ddf6cf1d8bde07716c4a3be1800ec5 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Adding new library to stop a volume's brickShwetha-H-Panduranga2012-01-301-0/+66
| | | | | | | | | | Change-Id: I6045f4f5510a2ea087592a7af57767db0be4064c Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com> Adding an argument signal for specifying the signal type for the kill command Change-Id: Ief94944fa7ed9ae6f2b764a542d61769a601b044 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Merge "Gluster installation through tar,git,rpm."Amar Tumballi2012-01-242-16/+365
|\
| * Gluster installation through tar,git,rpm.Vijaykumar2012-01-202-30/+379
| | | | | | | | | | | | | | Signed-off-by: Vijaykumar <vkoppad@redhat.com> Change-Id: I10cf998ff87dabfbc3cd4abd5762dba255e53042 Signed-off-by: Vijaykumar <vkoppad@redhat.com>
* | Adding libraries for validating the testcases.Shwetha-H-Panduranga2012-01-204-154/+372
|/ | | | | | | | | 1)calculating md5sum of mountpoints and bricks using arequal-checksum. 2)validate whether the md5sum of mountpoints and bricks are same. 3)validate gfids of the files on the bricks are same. Change-Id: Id5392721887a348f9c06fedf572098d711956497 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* 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