summaryrefslogtreecommitdiffstats
path: root/libs/utils
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Gluster installation through tar,git,rpm."Amar Tumballi2012-01-241-2/+344
|\
| * Gluster installation through tar,git,rpm.Vijaykumar2012-01-201-16/+358
| | | | | | | | | | | | | | 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-191-82/+306
| | | | | | | | 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)
* 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-131-4/+12
| | | | counts
* Changes to logger class, Using the logger class in the framework, adding new ↵Shwetha-H-Panduranga2011-12-126-132/+233
| | | | global values, Changes made to argument parser, testruninfo
* Renaming DirectoriesShwetha-H-Panduranga2011-12-076-0/+1265