summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/align-512-4K-md
Commit message (Collapse)AuthorAgeFilesLines
* tests: add mdadm locksKarel Zak2017-12-071-1/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: consolidate rmmod scsi_debugRuediger Meier2016-10-211-3/+0Star
| | | | | | | | | - auto cleanup on test exit - Add smart timeout: Newer openSUSE systems on OBS failed to rmmod almost always. udevadm settle does not seem to have any affect. - now tests will fail if rmmod fails Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: consolidate some checks for commandsRuediger Meier2014-05-151-3/+4
| | | | | | | | | | | Use ts_check_prog for mdadm, readelf, file, ntpdate, bc (mdadm was not always checked so far). There are some positive side-effects. We are using always $PATH now instead of randomly hardcoded /usr/bin, /sbin, etc. If we ever want to change this again, we should do this generically in ts_init. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: ts_scsi_debug_init must not run in a subshellRuediger Meier2014-05-131-5/+6
| | | | | | | | | | | ts_skip and ts_die won't work from subshell. Now we simply use TS_DEVICE which is globally set in that function. I've made sure that we never change TS_DEVICE variable after we've got it. So we could use it again for cleanup on exit in ts_{finalize,die,skip} functions. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: check commands needed for running a test existSami Kerola2014-03-071-0/+3
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: avoid executing dirname(1) commandSami Kerola2014-02-171-1/+1
| | | | | | Bash parameter expansion does the same thing. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: refresh fdisk testsKarel Zak2013-09-181-0/+1
|
* tests: consolidate scsi_debug usageKarel Zak2013-04-121-15/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use udevadm settle rather than sleepKarel Zak2013-04-121-2/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add ts_fdisk_clean function to make fdisk output comparableFrancesco Cosoleto2011-08-301-4/+1Star
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* tests: grammar fixesDavidlohr Bueso2011-08-171-1/+1
| | | | | | Trivial change, "Cannot found" to "Cannot find". Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* tests: ignore device name used in some fdisk and blkid testsFrancesco Cosoleto2011-01-241-1/+2
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update fdisk testsKarel Zak2010-06-161-4/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: explicitly use --chunk and --metadata in MD testKarel Zak2010-04-271-1/+2
| | | | | | | | | | | The newer mdadm version uses a different chunk size and superblock format, so the final MD device has a different I/O limits (optimal I/O size is 1MiB for 1.20 metadata). We have to explicitly use the same format which is expected in our tests. Reported-by: Yulia Kopkova <ykopkova@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add fdisk alignment testsKarel Zak2010-02-091-0/+104
Signed-off-by: Karel Zak <kzak@redhat.com>