summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk
Commit message (Collapse)AuthorAgeFilesLines
* tests: standardize fdisk headers in MBR testsKarel Zak2012-08-012-3/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add non-dos mode fdisk testKarel Zak2012-07-311-0/+135
|
* tests: add layout info to dos mode testKarel Zak2012-07-311-0/+33
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: rename doslabel testKarel Zak2012-07-312-2/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: tests: update oddinput testDavidlohr Bueso2012-06-211-2/+3
| | | | | | | | Adding mbr to the API breaks this test, specifically when reading the first 512 bytes of the MBR, update the expected output for oddinput.toosmall. Also let the test create and remove the test file instead of having it in the expected directory. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* tests: add ts_fdisk_clean function to make fdisk output comparableFrancesco Cosoleto2011-08-305-19/+5Star
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* tests: grammar fixesDavidlohr Bueso2011-08-174-4/+4
| | | | | | 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-244-4/+8
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-309-9/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: update MBR after ID changeKarel Zak2010-08-091-0/+37
| | | | | Reported-by: Bernard Pidoux <bpidoux@free.fr> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update fdisk testsKarel Zak2010-06-167-26/+14Star
| | | | 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: fix and update old fdisk testsKarel Zak2010-02-093-21/+21
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add fdisk alignment testsKarel Zak2010-02-095-0/+451
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add regression test listing empty/nonsense imagesZdenek Behan2009-11-021-0/+39
| | | | Signed-off-by: Zdenek Behan <rain@matfyz.cz>
* tests: test for basic functionality of sun labelsZdenek Behan2009-08-171-0/+74
| | | | | | | | | Tests the following: * Creation and deletion of first two partitions * setting sysid to one (randomly chosen) value * setting readonly/mountable flags Signed-off-by: Zdenek Behan <rain@matfyz.cz>
* tests: fdisk doslabel test also checks setting partition activeZdenek Behan2009-08-171-0/+6
| | | | | | * Yet another test, this time for setting active partition Signed-off-by: Zdenek Behan <rain@matfyz.cz>
* tests: fdisk doslabel test also checks changing partition typeZdenek Behan2009-08-171-9/+20
| | | | | | | | | | | * Changed apostrophes around test commands to quotes, this makes vim syntax highlighting more happy, and makes the newlines stand out. * Added check for changing partition type. After the change is done and checked, the partition is deleted and re-created to not mess with the other md5's already in place... Signed-off-by: Zdenek Behan <rain@matfyz.cz>
* fdisk: add simple test for doslabel stuffZdenek Behan2009-05-191-0/+82
Initial tests/fdisk patch to test most of the doslabel-related stuff. Coverage of dos-related functions is about 60%, does not test the verify/fix-PT code. [kzak@redhat.com: - fix test design to match to output/expect/diff idea] Signed-off-by: Zdenek Behan <rain@matfyz.cz> Signed-off-by: Karel Zak <kzak@redhat.com>