summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add Makefile.am files for tests/David Cantrell2009-06-093-0/+70
|
* Added the run_test.py script to easily run the test cases.Martin Gracik2009-03-178-58/+99
| | | | | | Some small changes to test cases were needed. Added suite() function to them and changed the class names. Also __init__.py files were added to the directories.
* Added test case for devicelib mdraid.py.Martin Gracik2009-03-132-27/+138
| | | | | | | | | | Rewrote the devicelibs unittest baseclass so we can create and remove another loop devices within the tests. Rewrote the isRaidXY(raidlevel) functions in mdraid.py into one function isRaid(XY, raidlevel). Rewrote the get_raid_min_members and get_raid_max_spares functions to use the new isRaid function, and not use many if-elif-else statements. Changed the minimum raid members for raid10 to 2.
* Added crypto.py unittest; Updated devicelibs tests baseclass.py and lvm.pyMartin Gracik2009-03-093-2/+128
| | | | | baseclass.py needed some imports to work properly. Updated the test for getMaxLVSize() in lvm.py to not pass PE size as argument.
* Added unittests for devicelibs lvm.py and swap.py; Corrected errors in ↵Martin Gracik2009-03-043-0/+335
lvm.py and swap.py