summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* tests: adjust sizes for new defaultsNeilBrown2010-03-101-2/+6
| | | | | | | Default metadata type is now 1.2, and we sometimes add extra alignment before the data section, so adjust tests for these changes. Signed-off-by: NeilBrown <neilb@suse.de>
* Change default metadata from 0.90 to 1.1NeilBrown2009-11-171-0/+2
| | | | | | | | | 1.1 is more flexible in a number of ways and is safer. 0.90 is still fully supported. 1.0 should possibly be used for RAID1 arrays that you want to boot off, depending on your boot loader. Signed-off-by: NeilBrown <neilb@suse.de>
* tests/imsm: allow for rounding of array size.NeilBrown2009-10-161-0/+5
| | | | | | | IMSM rounds array size to a multiple of 1024K, so our tests must assume this. Signed-off-by: NeilBrown <neilb@suse.de>
* Test different r5/r6 layouts.NeilBrown2009-10-161-0/+1
| | | | | | Make sure kernel and restripe agree on all different layouts. Signed-off-by: NeilBrown <neilb@suse.de>
* Test level changes and related reshaping.NeilBrown2009-10-121-1/+3
| | | | Signed-off-by: NeilBrown <neilb@suse.de>
* test: minor fixesNeilBrown2009-04-071-0/+2
| | | | | | | | - allow core files to be dumped. - modprobe md_mod if needed to write to /sys/module/md_mod/parameters/.... Signed-off-by: NeilBrown <neilb@suse.de>
* test: support testing DDFNeilBrown2009-04-061-3/+8
| | | | | | | | DDF requires larger devices as 32Meg is reserved. So allocated larger loop devices for DDF tests. Signed-off-by: NeilBrown <neilb@suse.de>
* test: return correct error status for mdadmNeilBrown2009-04-011-0/+2
| | | | | mdadm's return status is being hidden by the 'test' script so individual tests cannot see it.
* test: fix a call to udevsettleDan Williams2009-02-231-1/+1
| | | | | | | udevsettle is deprecated, use udevadm settle Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* workaround a hald interaction and quiet cleanupDan Williams2008-12-081-1/+2
| | | | | | | | | The 'udevadm settle' call appears to resolve: mdadm: failed to stop array /dev/md127: Device or resource busy Perhaps a running process, mounted filesystem or active volume group? Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* test: enable per-test custom environment setup/teardownDan Williams2008-12-081-0/+18
| | | | Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* test: always start with a clean slate.NeilBrown2008-11-041-0/+2
| | | | | | | To avoid confusion with old array, also zero superblocks before starting a test. Signed-off-by: NeilBrown <neilb@suse.de>
* test: make sure udev isn't opening a device before closing it.NeilBrown2008-11-041-0/+3
| | | | | | | As we open and close so quickly, udev might still have the device open. so call udevsettle before stopping an array during testing. Signed-off-by: NeilBrown <neilb@suse.de>
* Factor out add-disk codeNeilBrown2008-09-181-0/+1
| | | | | | | | | | | | | The variety of approaches to 'add_disk' are factored out into a separate function, and Incremental mode benefits by being closer to supporting the assembly of containers. Also remove the adding-to-array-data-structure out of sysfs_add_disk and into add_disk. And add some tests for --incremental mode to make sure we don't break it. Signed-off-by: NeilBrown <neilb@suse.de>
* Merge branch 'master' into from-stableNeilBrown2008-08-071-3/+6
|\ | | | | | | | | | | | | Conflicts: Create.c Manage.c
| * Add test for stoping and restarting a raid5 reshape.Neil Brown2008-06-271-3/+6
| | | | | | | | | | There was a kernel bug with stopping and restarting raid5 recently. So add a test to check for it.
* | Stop all arrays before running each test in regression test driver.Neil Brown2008-07-121-0/+2
|/ | | | | Sometimes I forget to stop arrays at the end of scripts, and that shows errors in the next script, which is confusing.
* Fix autoassemble for stack arrays.Neil Brown2008-05-201-0/+2
| | | | | | | | If you have stacked arrays, then mdadm -As --homehost=fred should work but doesn't. It gets into an infinite loop! So write some tests, and fix the bugs.
* Add --auto-detect for in-kernel autodetect.Neil Brown2007-05-211-0/+2
| | | | This is equivalent to raidautorun that some distros provide.
* Update tests and add linear-addNeil Brown2007-05-211-2/+6
| | | | | | Update the testing scripts to allow for new space calculations for space for bitmaps. Add a test script for adding devices to linear arrays.
* Central calls to ioctl BLKGETSIZENeil Brown2006-12-141-0/+2
| | | | Instead of opencoding the same thing everywhere.
* Fix and test --update=uuidNeil Brown2006-12-141-3/+9
| | | | A number of odd bugs here, but now we have a regression test as well.
* Update test scripts for new blockdevNeil Brown2006-10-231-3/+3
| | | | --getsize64 seems to have disappeared.
* Release 2.5mdadm-2.5Neil Brown2006-05-261-1/+3
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Bug fixes to pass test suiteNeil Brown2006-03-291-1/+4
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Add 'setup' option to 'test'Neil Brown2005-10-111-0/+3
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Refine some tests.Neil Brown2005-09-121-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Fix assembling of array with spares when verion-1 superblock is used.Neil Brown2005-09-121-1/+8
| | | | | | | As spared don't have a position in the raid array with verion-1 superblocks, we need to handle them a bit differently. Signed-off-by: Neil Brown <neilb@suse.de>
* Passes all tests, nearly ready for release.Neil Brown2005-08-261-4/+4
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Support internal bitmaps with format-1 superblocks.Neil Brown2005-08-251-3/+8
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add test for multipath and make it work.Neil Brown2005-08-161-1/+14
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Assorted fixesNeil Brown2005-08-161-2/+12
| | | | | | | | | Support "--build"ing arrays with bitmaps. hot-removal of bitmaps --re-add of drives recently removed. assorted extra tests Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add 'quite' option and tidy up some tests.Neil Brown2005-08-151-8/+67
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Support fixing of byte-swapped superblocks.Neil Brown2005-08-091-1/+1
| | | | | | | Good for moving between little-endian and big-endian. Still needs documentation. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add test suite and releaseNeil Brown2005-08-041-0/+66
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* mdadm-1.7.0mdadm-1.7.0Neil Brown2004-08-111-2/+0
|
* mdadm-1.0.9mdadm-1.0.9Neil Brown2003-02-121-0/+2